Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
game
v0.3.10
Game
Camera
Mode
Type
Circle
Color
Ellipse
Entity
EquilateralTriangle
Font
Game
Image
Key
Keys
Line
Matrix
Mesh
Model
Mouse
MouseButton
Pixel
Polygon
Rectangle
Ring
RoundedRectangle
Shape
ShapeEntity
Sound
Sprite
SpriteData
SpriteDataAny
SpriteDataFull
SpriteDataNoFPS
SpriteDataNoFPSNoLoopsNoStartEndFrames
SpriteDataNoFPSNoStartEndFrames
SpriteDataNoLoops
SpriteDataNoLoopsNoStartEndFrames
SpriteDataNoStartEndFrames
SpriteEntity
Square
Text
TextInput
Texture
Time
Triangle
Utils
Vector
Vector3
Vector4
Generated using Crystal 1.14.0
2024-11-26 10:45:02 UTC
abstract class
Game::
Entity
Game::Entity
Reference
Object
Direct Known Subclasses
Game::ShapeEntity
Game::SpriteEntity
Defined in:
game/shapes/entity.cr
Constructors
.new
Instance Method Summary
#draw
#height
#height=
(_height)
#update
(_frame_time)
#width
#width=
(_width)
#x
#x=
(_x)
#y
#y=
(_y)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
draw
#
[
View source
]
def
height
#
[
View source
]
def
height=
(_height)
#
[
View source
]
def
update
(_frame_time)
#
[
View source
]
def
width
#
[
View source
]
def
width=
(_width)
#
[
View source
]
def
x
#
[
View source
]
def
x=
(_x)
#
[
View source
]
def
y
#
[
View source
]
def
y=
(_y)
#
[
View source
]