bugfix: safety against breaking the AI if you press undo while it's thinking
[kaya.git] / lib / plugins / fantasy / fantasy.rb
blobcb28785f8621f8b035e5b4a3701ae507ca17044c
1 # Copyright (c) 2009 Paolo Capriotti <p.capriotti@gmail.com>
2
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 require 'toolkit'
9 require 'plugins/svg_theme'
11 class FantasyPieces < SvgTheme
12   include Plugin
13   plugin :name => 'Fantasy Pieces',
14          :interface => :pieces,
15          :keywords => %w(chess)
17   def initialize(opts = {})
18     super(opts)
19   end
21   def filename
22     rel('fantasy.svg')
23   end
24 end