Arkanoid documentation¶
Arkanoid clone game docs. Project GitHub repo.
Docs¶
-
struct Audible¶
-
struct AxisAlignedOneWayCollider¶
One-sided collider suitable for walls and platforms.
Public Functions
-
inline AxisAlignedOneWayCollider(const float displacement_value, const CollisionSide collision_side_value)¶
Constructor initialising collider with displacement and collision side values.
- Parameters:
displacement_value – [in] displacement of active collision side from left of window, for left and right colliders, displacement from top of window for top and bottom colliders.
collision_side_value – [in] either top, right, bottom or left depending on active collision side. For example, LEFT indicates collider will only register collisions from an object moving right, hitting the left side
-
inline AxisAlignedOneWayCollider(const float displacement_value, const CollisionSide collision_side_value)¶
-
struct CircleComponent¶
-
struct CollisionBox¶
-
struct Destructible¶
Destructible component, used for entities that deliver points on destruction.
Public Members
-
int points_value¶
Points earned by the player for destroying the destructible.
-
int points_value¶
-
struct GameState¶
-
struct LevelBrick¶
-
struct Position¶
-
struct RectangleComponent¶
-
struct Timer¶
-
struct Velocity¶