|
R-Type
Networked shoot'em up built on Aegis2D
|
Where a player ship is and how it moves, after a step. More...
#include <rtype/ship_movement.hpp>
Public Member Functions | |
| bool | operator== (const ShipMotion &) const =default |
| Field-by-field equality. | |
Public Attributes | |
| aegis2d::Vec2 | position |
| Center of the ship, in logical pixels. | |
| aegis2d::Vec2 | velocity |
| Velocity, in logical pixels per second. | |
Where a player ship is and how it moves, after a step.
|
default |
Field-by-field equality.
true if every field is equal. | aegis2d::Vec2 rtype::ShipMotion::position |
Center of the ship, in logical pixels.
| aegis2d::Vec2 rtype::ShipMotion::velocity |
Velocity, in logical pixels per second.