Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crystal_game_jam
main
Top Level Namespace
Actor
BigEnemy
Boss
Enemy
Player
Projectile
Scene
TinyEnemy
WorldClock
Built with Crystal 1.9.2
2023-10-07 20:24:12 UTC
class
Scene
Scene
Reference
Object
Included Modules
SF::Drawable
Defined in:
game/scene.cr
Constructors
.new
(size : SF::Vector2i)
Instance Method Summary
#draw
(target, states)
#size
: SF::Vector2(Int32)
#update
Constructor Detail
def self.
new
(size : SF::Vector2i)
#
[
View source
]
Instance Method Detail
def
draw
(target, states)
#
[
View source
]
def
size
: SF::Vector2(Int32)
#
[
View source
]
def
update
#
[
View source
]