#include <ShipType.h>
Public Methods | |
ShipType (Mesh *mesh, float a, float ms, float pc, float rc, float mp, float mc) | |
ShipType constructor. More... | |
Mesh * | getMesh () |
Get ship's Mesh. More... | |
float | getAcceleration () |
Get ship's maximum acceleration. More... | |
float | getRollConst () |
Get ship's roll constant. More... | |
float | getPitchConst () |
Get ship's pitch constant. More... | |
float | getMaxRoll () |
Get ship's maximum roll (delta). More... | |
float | getMaxPitch () |
Get ship's maximum pitch (delta). More... | |
float | getMaxSpeed () |
Get ship's maximum speed. More... | |
Protected Attributes | |
Mesh * | mesh |
float | acceleration |
float | pitch_const |
float | roll_const |
float | max_pitch |
float | max_roll |
float | max_speed |
Definition at line 46 of file ShipType.h.
|
ShipType constructor.
Definition at line 37 of file ShipType.cpp. References acceleration, max_pitch, max_roll, max_speed, mesh, pitch_const, and roll_const. |
|
Get ship's maximum acceleration.
Definition at line 55 of file ShipType.cpp. References acceleration. |
|
Get ship's maximum pitch (delta).
Definition at line 73 of file ShipType.cpp. References max_pitch. |
|
Get ship's maximum roll (delta).
Definition at line 79 of file ShipType.cpp. References max_roll. |
|
Get ship's maximum speed.
Definition at line 85 of file ShipType.cpp. References max_speed. |
|
Get ship's Mesh.
Definition at line 49 of file ShipType.cpp. References mesh. |
|
Get ship's pitch constant.
Definition at line 61 of file ShipType.cpp. References pitch_const. |
|
Get ship's roll constant.
Definition at line 67 of file ShipType.cpp. References roll_const. |
|
Definition at line 60 of file ShipType.h. Referenced by getAcceleration(), and ShipType(). |
|
Definition at line 63 of file ShipType.h. Referenced by getMaxPitch(), and ShipType(). |
|
Definition at line 64 of file ShipType.h. Referenced by getMaxRoll(), and ShipType(). |
|
Definition at line 65 of file ShipType.h. Referenced by getMaxSpeed(), and ShipType(). |
|
Definition at line 59 of file ShipType.h. |
|
Definition at line 61 of file ShipType.h. Referenced by getPitchConst(), and ShipType(). |
|
Definition at line 62 of file ShipType.h. Referenced by getRollConst(), and ShipType(). |