Birdo

Holds the state of that prehitoric birdo

Constructors

this
this(float _horizontal_offset, Level _level)

Constructs a birdo from horizontal offset and level

Members

Enums

Level
enum Level

Represents birdo's altitude

Functions

collider
Collider collider()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(RenderTarget window, RenderStates states)
Undocumented in source. Be warned that the author may not have intended to support it.
move
void move(float f)

Moves the birdo to the left by f px

position
Vector2f position()

Returns position of the birdo

texture
const(Texture) texture()

Returns the texture of the birdo

Static functions

random_level
Birdo.Level random_level()

Randomizes Birdo.Level

Variables

window_height
float window_height;

Height of the window

Inherited Members

From Collidable

collider
Collider collider()

Returns a rectangle to be used for collision detection;

Meta