Birdo

Holds the state of that prehitoric birdo

Constructors

this
this(const float _horizontal_offset, const Level _level)

Constructs a birdo from horizontal offset and level

Members

Enums

Level
enum Level

Represents birdo's altitude

Functions

move
void move(const 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