taqin/game/src/Piece.gd
2019-11-22 13:38:50 +01:00

8 lines
No EOL
136 B
GDScript

extends Node2D
class_name Piece
tool
export var size: int = 64
func _draw() -> void:
draw_rect(Rect2(0, 0, size, size), Color.yellow)