- Timestamp:
- Apr 18, 2011, 4:35:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/dockingsystem2/src/modules/docking/DockingEffect.h
r8196 r8257 36 36 #define _DockingEffect_H__ 37 37 38 #include "core/CoreIncludes.h" 39 #include "core/XMLPort.h" 40 41 #include "infos/PlayerInfo.h" 42 38 43 #include "DockingPrereqs.h" 44 #include "DockingTarget.h" 39 45 40 46 #include <list> … … 68 74 virtual bool docking(PlayerInfo* player) = 0; //!< Called when docking starts 69 75 virtual bool attach(PlayerInfo* player) = 0; //!< Called after docking animation 70 virtual bool release(PlayerInfo* player) = 0; //!< Called when player wants undock76 virtual bool release(PlayerInfo* player) = 0; //!< Called when player wants to undock 71 77 72 78 static bool invokeEffect(docking::event event, PlayerInfo* player, std::list<DockingEffect*> & effects); //!< Invokes the event specific method of all DockingEffects in the list 79 static DockingTarget *findTarget(std::string name); //!< Iterates through all DockingTarget objects to find the one with name=target 73 80 }; 74 81
Note: See TracChangeset
for help on using the changeset viewer.