AllegroFlare/Prototypes/CubeShooter/PlayerMovementControl
view source (cpp, hpp, quintessence) • view tests (test file)
Properties
| player_controlled_entity |
AllegroFlare::Prototypes::CubeShooter::Entity* |
| position |
AllegroFlare::Vec3D* |
| velocity |
AllegroFlare::Vec3D* |
| max_velocity_x |
float |
| max_velocity_y |
float |
| acceleration |
float |
| thruster_max_velocity |
float |
| thruster_acceleration_force |
float |
| thruster_active |
bool |
| moving_up |
bool |
| moving_down |
bool |
| moving_left |
bool |
| moving_right |
bool |
| firing_blaster |
bool |
| blaster_fired_at |
float |
| blaster_refire_rate |
float |
| blaster_fired_on_last_update |
bool |
| max_x |
float |
| min_x |
float |
| max_y |
float |
| min_y |
float |
Methods
| set_player_controlled_entity(AllegroFlare::Prototypes::CubeShooter::Entity* player_controlled_entity=nullptr) |
| update(float time_now=0) |
Dependencies
| {"symbol"=>"AllegroFlare::Prototypes::CubeShooter::Entity", "headers"=>["AllegroFlare/Prototypes/CubeShooter/Entity.hpp"]} |
| {"symbol"=>"AllegroFlare::Vec3D", "headers"=>["AllegroFlare/Vec3D.hpp"]} |
Sponsor
Visit CLUBCATT for cat shirts, cat mugs, cat puzzles, and more.