Crate catchit [−] [src]
A library implementing the catchit game
Structs
| Engine |
The engine implements the game logic |
| Hunter | |
| Object |
A game object which knows a few things about itself |
| Obstacle |
An obstacle the hunter can collide with |
| State |
It maintains the state of the game and expects to be updated with time-delta information to compute the next state. |
| Transition |
Enums
| CollisionShape |
Represents a shape used for collision detection |
| ObstacleKind | |
| TransitionDirection | |
| TransitionState |
Type Definitions
| Extent |
[width, height] |
| Position |
[x, y] |
| Pt |
Points on screen. Usually they correspond to pixels, but might not on a
|
| Scalar | |
| Velocity |