Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crgame
0.0.1
Top Level Namespace
Action
Actor
Direction
Collider
Capsule
Circle
Group
Rectangle
Enemy
Engine
Entity
Game
Hitbox
Hurtbox
Input
Button
Config
InputDisplay
Math
Physical
Player
PlayerDisplay
Scene
Solid
TestBox
Vector
Built with Crystal 1.9.2
2023-10-07 18:51:56 UTC
module
Physical
Direct including types
Enemy
Defined in:
entities/physical.cr
Instance Method Summary
#collider
#collider=
(collider)
#load
#on_ceiling?
#on_ground?
#on_left_wall?
#on_right_wall?
#update
#velocity
#velocity=
(velocity)
Instance Method Detail
def
collider
#
[
View source
]
def
collider=
(collider)
#
[
View source
]
def
load
#
[
View source
]
def
on_ceiling?
#
[
View source
]
def
on_ground?
#
[
View source
]
def
on_left_wall?
#
[
View source
]
def
on_right_wall?
#
[
View source
]
def
update
#
[
View source
]
def
velocity
#
[
View source
]
def
velocity=
(velocity)
#
[
View source
]