Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crystal_pong
main
CrystalPong
Entities
Racket
MainState
Built with Crystal 1.9.2
2023-10-07 20:09:18 UTC
class
CrystalPong::Entities::Racket
CrystalPong::Entities::Racket
SF::Transformable
Reference
Object
Included Modules
SF::Drawable
Defined in:
entities/racket.cr
Constructors
.new
Instance Method Summary
#collides?
(entity : SF::Shape)
#draw
(target, states)
#move
(x, y)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
collides?
(entity : SF::Shape)
#
[
View source
]
def
draw
(target, states)
#
[
View source
]
def
move
(x, y)
#
[
View source
]