class

Game::ShapeEntity

Inherits Game::Entity < Reference < Object

Constructors

new(x : Float32 | Int32, y : Float32 | Int32, shape : ::Game::Shape)
Source

Instance methods

draw(parent_x = 0, parent_y = 0)
Source
height(*args, **options)
Source
height(*args, **options, &)
Source
shape
Source
shape=(shape : ::Game::Shape)
Source
update(frame_time)
Source
width(*args, **options)
Source
width(*args, **options, &)
Source
x=(x : Int32 | Float32)
Source
y=(y : Int32 | Float32)
Source