initial
This commit is contained in:
commit
3ea7bfd5dc
122 changed files with 568704 additions and 0 deletions
20
Scripts/Rules/king.gd
Executable file
20
Scripts/Rules/king.gd
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
extends Rule
|
||||
|
||||
static func ready(piece: Piece):
|
||||
pass
|
||||
|
||||
static func select(piece: Piece, game: Game):
|
||||
piece.possible_movements = [
|
||||
Vector2i(-1,0),
|
||||
Vector2i(1,0),
|
||||
Vector2i(-1,-1),
|
||||
Vector2i(1,1),
|
||||
Vector2i(0,1),
|
||||
Vector2i(0,-1),
|
||||
Vector2i(-1,1),
|
||||
Vector2i(1,-1),
|
||||
]
|
||||
pass
|
||||
|
||||
static func before_move(piece: Piece):
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue