#include <selectionMgr.h>
Definition at line 25 of file selectionMgr.h.
FastEcslent::SelectionMgr::SelectionMgr | ( | ) |
FastEcslent::SelectionMgr::SelectionMgr | ( | ) |
FastEcslent::SelectionMgr::SelectionMgr | ( | ) |
FastEcslent::SelectionMgr::SelectionMgr | ( | ) |
FastEcslent::SelectionMgr::SelectionMgr | ( | ) |
void FastEcslent::SelectionMgr::updatePrimarySelection | ( | ) | [private] |
Definition at line 53 of file selectionMgr.cpp.
References primarySelection, and selectedEnts.
Referenced by select(), and unselect().
void FastEcslent::SelectionMgr::init | ( | void | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
Definition at line 39 of file selectionMgr.cpp.
References DEBUG, and resetAll().
Referenced by FastEcslent::Engine::init().
void FastEcslent::SelectionMgr::tick | ( | double | dtime | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
Definition at line 47 of file selectionMgr.cpp.
Referenced by FastEcslent::Engine::tickAll().
void FastEcslent::SelectionMgr::reset | ( | ) |
void FastEcslent::SelectionMgr::resetAll | ( | ) |
Definition at line 22 of file selectionMgr.cpp.
References FastEcslent::Mgr::engine, FastEcslent::Engine::entityMgr, FastEcslent::EntityMgr::ents, FastEcslent::Entity::isSelected, FastEcslent::EntityMgr::nEnts, primarySelection, and selectedEnts.
Referenced by init(), SelectionMgr(), and FastEcslent::GameMgr::tester().
void FastEcslent::SelectionMgr::unselect | ( | int | i | ) |
Definition at line 77 of file selectionMgr.cpp.
References FastEcslent::Mgr::engine, FastEcslent::Entity::entityId, FastEcslent::Engine::entityMgr, FastEcslent::EntityMgr::ents, FastEcslent::Entity::isSelected, selectedEnts, and updatePrimarySelection().
Referenced by FastEcslent::Engine::runTests(), and FastEcslent::Entity::switchState().
void FastEcslent::SelectionMgr::unselect | ( | Entity * | ent | ) |
Definition at line 88 of file selectionMgr.cpp.
References FastEcslent::Entity::entityId, FastEcslent::Entity::isSelected, selectedEnts, and updatePrimarySelection().
void FastEcslent::SelectionMgr::select | ( | int | i | ) |
Definition at line 60 of file selectionMgr.cpp.
References FastEcslent::Mgr::engine, FastEcslent::Entity::entityId, FastEcslent::Engine::entityMgr, FastEcslent::EntityMgr::ents, FastEcslent::Entity::isSelected, selectedEnts, and updatePrimarySelection().
void FastEcslent::SelectionMgr::select | ( | Entity * | ent | ) |
Definition at line 69 of file selectionMgr.cpp.
References FastEcslent::Entity::entityId, FastEcslent::Entity::isSelected, selectedEnts, and updatePrimarySelection().
void FastEcslent::SelectionMgr::dump | ( | ) |
FastEcslent::Entity * FastEcslent::SelectionMgr::getPrimarySelection | ( | ) |
FastEcslent::Entity ** FastEcslent::SelectionMgr::getSelectedEnts | ( | ) |
Definition at line 97 of file selectionMgr.cpp.
References nSelectedEnts, selectedEnts, and selectedEntsArray.
Referenced by FastEcslent::Engine::runTests().
int FastEcslent::SelectionMgr::getNSelectedEnts | ( | ) |
Definition at line 110 of file selectionMgr.cpp.
References nSelectedEnts, and selectedEnts.
Referenced by FastEcslent::Engine::runTests().
void FastEcslent::SelectionMgr::updatePrimarySelection | ( | ) | [private] |
void FastEcslent::SelectionMgr::init | ( | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::SelectionMgr::tick | ( | double | dtime | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::SelectionMgr::reset | ( | ) |
void FastEcslent::SelectionMgr::resetAll | ( | ) |
void FastEcslent::SelectionMgr::unselect | ( | int | i | ) |
void FastEcslent::SelectionMgr::unselect | ( | Entity * | ent | ) |
void FastEcslent::SelectionMgr::select | ( | int | i | ) |
void FastEcslent::SelectionMgr::select | ( | Entity * | ent | ) |
void FastEcslent::SelectionMgr::dump | ( | ) |
Entity* FastEcslent::SelectionMgr::getPrimarySelection | ( | ) |
Entity** FastEcslent::SelectionMgr::getSelectedEnts | ( | ) |
int FastEcslent::SelectionMgr::getNSelectedEnts | ( | ) |
void FastEcslent::SelectionMgr::updatePrimarySelection | ( | ) | [private] |
void FastEcslent::SelectionMgr::init | ( | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::SelectionMgr::tick | ( | double | dtime | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::SelectionMgr::reset | ( | ) |
void FastEcslent::SelectionMgr::resetAll | ( | ) |
void FastEcslent::SelectionMgr::unselect | ( | int | i | ) |
void FastEcslent::SelectionMgr::unselect | ( | Entity * | ent | ) |
void FastEcslent::SelectionMgr::select | ( | int | i | ) |
void FastEcslent::SelectionMgr::select | ( | Entity * | ent | ) |
void FastEcslent::SelectionMgr::dump | ( | ) |
Entity* FastEcslent::SelectionMgr::getPrimarySelection | ( | ) |
Entity** FastEcslent::SelectionMgr::getSelectedEnts | ( | ) |
int FastEcslent::SelectionMgr::getNSelectedEnts | ( | ) |
void FastEcslent::SelectionMgr::updatePrimarySelection | ( | ) | [private] |
void FastEcslent::SelectionMgr::init | ( | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::SelectionMgr::tick | ( | double | dtime | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::SelectionMgr::reset | ( | ) |
void FastEcslent::SelectionMgr::resetAll | ( | ) |
void FastEcslent::SelectionMgr::unselect | ( | int | i | ) |
void FastEcslent::SelectionMgr::unselect | ( | Entity * | ent | ) |
void FastEcslent::SelectionMgr::select | ( | int | i | ) |
void FastEcslent::SelectionMgr::select | ( | Entity * | ent | ) |
void FastEcslent::SelectionMgr::dump | ( | ) |
Entity* FastEcslent::SelectionMgr::getPrimarySelection | ( | ) |
Entity** FastEcslent::SelectionMgr::getSelectedEnts | ( | ) |
int FastEcslent::SelectionMgr::getNSelectedEnts | ( | ) |
void FastEcslent::SelectionMgr::updatePrimarySelection | ( | ) | [private] |
void FastEcslent::SelectionMgr::init | ( | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::SelectionMgr::tick | ( | double | dtime | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::SelectionMgr::reset | ( | ) |
void FastEcslent::SelectionMgr::resetAll | ( | ) |
void FastEcslent::SelectionMgr::unselect | ( | int | i | ) |
void FastEcslent::SelectionMgr::unselect | ( | Entity * | ent | ) |
void FastEcslent::SelectionMgr::select | ( | int | i | ) |
void FastEcslent::SelectionMgr::select | ( | Entity * | ent | ) |
void FastEcslent::SelectionMgr::dump | ( | ) |
Entity* FastEcslent::SelectionMgr::getPrimarySelection | ( | ) |
Entity** FastEcslent::SelectionMgr::getSelectedEnts | ( | ) |
int FastEcslent::SelectionMgr::getNSelectedEnts | ( | ) |
int FastEcslent::SelectionMgr::nSelectedEnts [private] |
Definition at line 30 of file selectionMgr.h.
Referenced by getNSelectedEnts(), and getSelectedEnts().
std::map<Identity, Entity *, EntityLessThan> FastEcslent::SelectionMgr::selectedEnts |
Definition at line 33 of file selectionMgr.h.
Referenced by dump(), getNSelectedEnts(), getSelectedEnts(), reset(), resetAll(), select(), unselect(), and updatePrimarySelection().
Definition at line 36 of file selectionMgr.h.
Referenced by getPrimarySelection(), reset(), resetAll(), and updatePrimarySelection().
Definition at line 29 of file selectionMgr.h.
std::map<Identity, Entity *, EntityLessThan> FastEcslent::SelectionMgr::selectedEnts |
Definition at line 33 of file selectionMgr.h.
Definition at line 36 of file selectionMgr.h.
Definition at line 29 of file selectionMgr.h.
std::map<Identity, Entity *, EntityLessThan> FastEcslent::SelectionMgr::selectedEnts |
Definition at line 33 of file selectionMgr.h.
Definition at line 36 of file selectionMgr.h.
Definition at line 29 of file selectionMgr.h.
std::map<Identity, Entity *, EntityLessThan> FastEcslent::SelectionMgr::selectedEnts |
Definition at line 33 of file selectionMgr.h.
Definition at line 36 of file selectionMgr.h.
Definition at line 29 of file selectionMgr.h.
std::map<Identity, Entity *, EntityLessThan> FastEcslent::SelectionMgr::selectedEnts |
Definition at line 33 of file selectionMgr.h.
Definition at line 36 of file selectionMgr.h.