#include <Player.h>
Collaboration diagram for Player:

Public Member Functions | |
| Player (int plyId, class MissionDef *mission) | |
| VehicleSprite * | getVehicleSprite () |
| void | doKey (int key, int x, int y, bool special, bool down, unsigned int modifiers) |
| void | setCurrentVehicle (int index) |
| void | setCurrentPlatoon (int index) |
| void | endTurn () |
| void | update (void) |
| void | paint (void) |
| void | addVehicle (VehicleSprite *v) |
| Cond & | getWinCond () |
| void | setId (int plyId) |
| int | getId () |
Public Attributes | |
| int | base |
| std::vector< VehicleSprite * > | vehicles |
| VehicleSprite * | currentVehicle |
| std::vector< VehicleGroup * > | platoons |
Protected Member Functions | |
| int | keyToGroup (int key) |
Protected Attributes | |
| int | myId |
| Map * | terrain_map |
| int | rotate_camera |
| Cond | wincond |
| Player::Player | ( | int | plyId, | |
| class MissionDef * | mission | |||
| ) |
| void Player::addVehicle | ( | VehicleSprite * | v | ) |
| void Player::doKey | ( | int | key, | |
| int | x, | |||
| int | y, | |||
| bool | special, | |||
| bool | down, | |||
| unsigned int | modifiers | |||
| ) |
| void Player::endTurn | ( | ) |
| int Player::getId | ( | ) |
| VehicleSprite* Player::getVehicleSprite | ( | ) | [inline] |
| Cond& Player::getWinCond | ( | ) | [inline] |
| int Player::keyToGroup | ( | int | key | ) | [protected] |
| void Player::paint | ( | void | ) |
| void Player::setCurrentPlatoon | ( | int | index | ) |
| void Player::setCurrentVehicle | ( | int | index | ) |
| void Player::setId | ( | int | plyId | ) |
| void Player::update | ( | void | ) |
| int Player::base |
int Player::myId [protected] |
| std::vector<VehicleGroup*> Player::platoons |
int Player::rotate_camera [protected] |
Map* Player::terrain_map [protected] |
| std::vector<VehicleSprite*> Player::vehicles |
Cond Player::wincond [protected] |
1.4.7