Changeset 11057 for code/branches/cpp11_v3
- Timestamp:
- Jan 10, 2016, 7:50:23 PM (9 years ago)
- Location:
- code/branches/cpp11_v3/src
- Files:
-
- 62 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3/src/modules/docking/DockingTarget.cc
r9667 r11057 34 34 #include "DockingTarget.h" 35 35 #include "core/CoreIncludes.h" 36 #include "core/XMLPort.h"37 36 38 37 … … 49 48 { 50 49 } 51 52 void DockingTarget::XMLPort(Element& xmlelement, XMLPort::Mode mode)53 {54 SUPER(DockingTarget, XMLPort, xmlelement, mode);55 56 orxout(verbose, context::docking) << "DockingTarget with name '" << this->getName() << "' created.." << endl;57 }58 59 50 } 60 51 -
code/branches/cpp11_v3/src/modules/docking/DockingTarget.h
r11054 r11057 58 58 virtual ~DockingTarget(); 59 59 60 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;61 62 60 }; 63 61 -
code/branches/cpp11_v3/src/modules/dodgerace/DodgeRaceCenterPoint.cc
r11054 r11057 49 49 } 50 50 51 void DodgeRaceCenterPoint::XMLPort(Element& xmlelement, XMLPort::Mode mode)52 {53 SUPER(DodgeRaceCenterPoint, XMLPort, xmlelement, mode);54 }55 56 51 void DodgeRaceCenterPoint::checkGametype() 57 52 { -
code/branches/cpp11_v3/src/modules/dodgerace/DodgeRaceCenterPoint.h
r11054 r11057 50 50 DodgeRaceCenterPoint(Context* context); //checks whether the gametype is actually DodgeRace. 51 51 52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;53 54 52 private: 55 53 void checkGametype(); -
code/branches/cpp11_v3/src/modules/invader/InvaderCenterPoint.cc
r11054 r11057 49 49 } 50 50 51 void InvaderCenterPoint::XMLPort(Element& xmlelement, XMLPort::Mode mode)52 {53 SUPER(InvaderCenterPoint, XMLPort, xmlelement, mode);54 }55 56 51 void InvaderCenterPoint::checkGametype() 57 52 { -
code/branches/cpp11_v3/src/modules/invader/InvaderCenterPoint.h
r11054 r11057 47 47 InvaderCenterPoint(Context* context); //checks whether the gametype is actually Invader. 48 48 49 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;50 51 49 private: 52 50 void checkGametype(); -
code/branches/cpp11_v3/src/modules/jump/JumpBoots.cc
r11054 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 #include "JumpFigure.h" 39 38 … … 59 58 { 60 59 61 }62 63 void JumpBoots::XMLPort(Element& xmlelement, XMLPort::Mode mode)64 {65 SUPER(JumpBoots, XMLPort, xmlelement, mode);66 60 } 67 61 -
code/branches/cpp11_v3/src/modules/jump/JumpBoots.h
r11054 r11057 41 41 virtual ~JumpBoots(); 42 42 virtual void tick(float dt) override; 43 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;44 43 virtual void touchFigure() override; 45 44 virtual float getFuelState(); -
code/branches/cpp11_v3/src/modules/jump/JumpPlatformDisappear.cc
r11054 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 #include "JumpFigure.h" 39 38 … … 52 51 { 53 52 54 }55 56 void JumpPlatformDisappear::XMLPort(Element& xmlelement, XMLPort::Mode mode)57 {58 SUPER(JumpPlatformDisappear, XMLPort, xmlelement, mode);59 53 } 60 54 -
code/branches/cpp11_v3/src/modules/jump/JumpPlatformDisappear.h
r11054 r11057 47 47 virtual ~JumpPlatformDisappear(); 48 48 virtual void tick(float dt) override; 49 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;50 49 virtual void setProperties(bool active); 51 50 virtual bool isActive(); -
code/branches/cpp11_v3/src/modules/jump/JumpPlatformFake.cc
r11054 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 39 38 namespace orxonox … … 51 50 } 52 51 53 void JumpPlatformFake::XMLPort(Element& xmlelement, XMLPort::Mode mode)54 {55 SUPER(JumpPlatformFake, XMLPort, xmlelement, mode);56 }57 58 52 void JumpPlatformFake::tick(float dt) 59 53 { -
code/branches/cpp11_v3/src/modules/jump/JumpPlatformFake.h
r11054 r11057 47 47 virtual ~JumpPlatformFake(); 48 48 virtual void tick(float dt) override; 49 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;50 49 }; 51 50 } -
code/branches/cpp11_v3/src/modules/jump/JumpPlatformHMove.cc
r11054 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 #include "JumpFigure.h" 39 38 … … 52 51 { 53 52 54 }55 56 void JumpPlatformHMove::XMLPort(Element& xmlelement, XMLPort::Mode mode)57 {58 SUPER(JumpPlatformHMove, XMLPort, xmlelement, mode);59 53 } 60 54 -
code/branches/cpp11_v3/src/modules/jump/JumpPlatformHMove.h
r11054 r11057 42 42 virtual ~JumpPlatformHMove(); 43 43 virtual void tick(float dt) override; 44 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;45 44 virtual void setProperties(float leftBoundary, float rightBoundary, float speed); 46 45 virtual void touchFigure() override; -
code/branches/cpp11_v3/src/modules/jump/JumpPlatformStatic.cc
r11054 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 #include "JumpFigure.h" 39 38 … … 53 52 } 54 53 55 //xml port for loading sounds56 void JumpPlatformStatic::XMLPort(Element& xmlelement, XMLPort::Mode mode)57 {58 SUPER(JumpPlatformStatic, XMLPort, xmlelement, mode);59 }60 61 54 void JumpPlatformStatic::tick(float dt) 62 55 { -
code/branches/cpp11_v3/src/modules/jump/JumpPlatformStatic.h
r11054 r11057 42 42 43 43 virtual void tick(float dt) override; 44 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;45 44 46 45 virtual void touchFigure() override; -
code/branches/cpp11_v3/src/modules/jump/JumpPlatformVMove.cc
r11054 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 #include "JumpFigure.h" 39 38 … … 52 51 { 53 52 54 }55 56 void JumpPlatformVMove::XMLPort(Element& xmlelement, XMLPort::Mode mode)57 {58 SUPER(JumpPlatformVMove, XMLPort, xmlelement, mode);59 53 } 60 54 -
code/branches/cpp11_v3/src/modules/jump/JumpPlatformVMove.h
r11054 r11057 41 41 virtual ~JumpPlatformVMove(); 42 42 virtual void tick(float dt) override; 43 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;44 43 virtual void setProperties(float leftBoundary, float rightBoundary, float speed); 45 44 virtual void touchFigure() override; -
code/branches/cpp11_v3/src/modules/jump/JumpProjectile.cc
r11054 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 #include "JumpFigure.h" 39 38 #include "JumpEnemy.h" … … 56 55 { 57 56 58 }59 60 void JumpProjectile::XMLPort(Element& xmlelement, XMLPort::Mode mode)61 {62 SUPER(JumpProjectile, XMLPort, xmlelement, mode);63 57 } 64 58 -
code/branches/cpp11_v3/src/modules/jump/JumpProjectile.h
r11054 r11057 45 45 virtual void tick(float dt) override; 46 46 47 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;48 49 47 void setFieldDimension(float width, float height) 50 48 { this->fieldWidth_ = width; this->fieldHeight_ = height; } -
code/branches/cpp11_v3/src/modules/jump/JumpPropeller.cc
r11054 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 #include "JumpFigure.h" 39 38 … … 59 58 { 60 59 61 }62 63 void JumpPropeller::XMLPort(Element& xmlelement, XMLPort::Mode mode)64 {65 SUPER(JumpPropeller, XMLPort, xmlelement, mode);66 60 } 67 61 -
code/branches/cpp11_v3/src/modules/jump/JumpPropeller.h
r11054 r11057 41 41 virtual ~JumpPropeller(); 42 42 virtual void tick(float dt) override; 43 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;44 43 virtual void touchFigure() override; 45 44 virtual float getFuelState(); -
code/branches/cpp11_v3/src/modules/jump/JumpRocket.cc
r11054 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 #include "JumpFigure.h" 39 38 … … 59 58 { 60 59 61 }62 63 void JumpRocket::XMLPort(Element& xmlelement, XMLPort::Mode mode)64 {65 SUPER(JumpRocket, XMLPort, xmlelement, mode);66 60 } 67 61 -
code/branches/cpp11_v3/src/modules/jump/JumpRocket.h
r11054 r11057 41 41 virtual ~JumpRocket(); 42 42 virtual void tick(float dt) override; 43 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;44 43 virtual void touchFigure() override; 45 44 virtual float getFuelState(); -
code/branches/cpp11_v3/src/modules/jump/JumpShield.cc
r11054 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 #include "JumpFigure.h" 39 38 … … 59 58 { 60 59 61 }62 63 void JumpShield::XMLPort(Element& xmlelement, XMLPort::Mode mode)64 {65 SUPER(JumpShield, XMLPort, xmlelement, mode);66 60 } 67 61 -
code/branches/cpp11_v3/src/modules/jump/JumpShield.h
r11054 r11057 41 41 virtual ~JumpShield(); 42 42 virtual void tick(float dt) override; 43 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;44 43 virtual void touchFigure() override; 45 44 virtual float getFuelState(); -
code/branches/cpp11_v3/src/modules/jump/JumpSpring.cc
r11054 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 #include "JumpFigure.h" 39 38 … … 58 57 { 59 58 60 }61 62 void JumpSpring::XMLPort(Element& xmlelement, XMLPort::Mode mode)63 {64 SUPER(JumpSpring, XMLPort, xmlelement, mode);65 59 } 66 60 -
code/branches/cpp11_v3/src/modules/jump/JumpSpring.h
r11054 r11057 41 41 virtual ~JumpSpring(); 42 42 virtual void tick(float dt) override; 43 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;44 43 virtual void accelerateFigure(); 45 44 virtual void touchFigure() override; -
code/branches/cpp11_v3/src/modules/mini4dgame/Mini4DgameBoard.cc
r11054 r11057 40 40 #include "graphics/BlinkingBillboard.h" 41 41 42 #include "core/XMLPort.h"43 44 42 #include "Mini4Dgame.h" 45 43 … … 71 69 this->player_toggle_ = false; 72 70 this->checkGametype(); 73 }74 75 76 //xml port for loading sounds77 void Mini4DgameBoard::XMLPort(Element& xmlelement, XMLPort::Mode mode)78 {79 SUPER(Mini4DgameBoard, XMLPort, xmlelement, mode);80 71 } 81 72 -
code/branches/cpp11_v3/src/modules/mini4dgame/Mini4DgameBoard.h
r11054 r11057 74 74 //virtual ~Mini4DgameBoard(); 75 75 76 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;77 78 76 bool isValidMove(const Mini4DgamePosition& move); 79 77 void undoMove(); -
code/branches/cpp11_v3/src/modules/objects/triggers/Trigger.cc
r11054 r11057 37 37 #include "core/CoreIncludes.h" 38 38 #include "core/GameMode.h" 39 #include "core/XMLPort.h"40 39 #include "core/command/ConsoleCommandIncludes.h" 41 40 … … 86 85 { 87 86 88 }89 90 /**91 @brief92 Method for creating a Trigger object through XML.93 */94 void Trigger::XMLPort(Element& xmlelement, XMLPort::Mode mode)95 {96 SUPER(Trigger, XMLPort, xmlelement, mode);97 87 } 98 88 -
code/branches/cpp11_v3/src/modules/objects/triggers/Trigger.h
r11054 r11057 83 83 virtual ~Trigger(); 84 84 85 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); // Method for creating a Trigger object through XML.86 85 virtual void tick(float dt); 87 86 -
code/branches/cpp11_v3/src/modules/overlays/hud/HUDWeaponMode.cc
r11052 r11057 29 29 #include "HUDWeaponMode.h" 30 30 31 #include "util/Convert.h" 32 #include "util/StringUtils.h" 31 33 #include "core/CoreIncludes.h" 32 #include "core/XMLPort.h"33 #include "util/Convert.h"34 34 #include "core/class/Super.h" 35 35 … … 107 107 } 108 108 109 void HUDWeaponMode::XMLPort(Element& xmlelement, XMLPort::Mode mode)110 {111 SUPER(HUDWeaponMode, XMLPort, xmlelement, mode);112 }113 114 109 void HUDWeaponMode::tick(float dt) 115 110 { -
code/branches/cpp11_v3/src/modules/overlays/hud/HUDWeaponMode.h
r11052 r11057 58 58 59 59 virtual void tick(float dt); 60 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);61 60 virtual void changedOwner(); 62 61 virtual void changedOverlayGroup(); -
code/branches/cpp11_v3/src/modules/tetris/TetrisScore.cc
r11054 r11057 36 36 37 37 #include "core/CoreIncludes.h" 38 #include "core/XMLPort.h"39 38 #include "util/Convert.h" 40 39 … … 66 65 TetrisScore::~TetrisScore() 67 66 { 68 }69 70 /**71 @brief72 Method to create a TetrisScore through XML.73 */74 void TetrisScore::XMLPort(Element& xmlelement, XMLPort::Mode mode)75 {76 SUPER(TetrisScore, XMLPort, xmlelement, mode);77 67 } 78 68 -
code/branches/cpp11_v3/src/modules/tetris/TetrisScore.h
r11054 r11057 61 61 62 62 virtual void tick(float dt) override; //!< Creates and sets the caption to be displayed by the TetrisScore. 63 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;64 63 virtual void changedOwner() override; //!< Is called when the owner changes. 65 64 -
code/branches/cpp11_v3/src/modules/towerdefense/TowerDefenseSelecter.cc
r11052 r11057 35 35 36 36 #include "core/CoreIncludes.h" 37 #include "core/XMLPort.h"38 37 #include "graphics/Model.h" 39 38 … … 59 58 { 60 59 61 }62 63 void TowerDefenseSelecter::XMLPort(Element& xmlelement, XMLPort::Mode mode)64 {65 SUPER(TowerDefenseSelecter, XMLPort, xmlelement, mode);66 60 } 67 61 -
code/branches/cpp11_v3/src/modules/towerdefense/TowerDefenseSelecter.h
r11054 r11057 41 41 TowerDefenseSelecter(Context* context); //!< Constructor. Registers and initializes the object. 42 42 virtual ~TowerDefenseSelecter(); 43 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;44 43 virtual void tick(float dt) override; 45 44 virtual void moveFrontBack(const Vector2& value) override; //!< Overloaded the function to steer the bat up and down. -
code/branches/cpp11_v3/src/modules/weapons/munitions/FusionMunition.cc
r11052 r11057 34 34 #include "FusionMunition.h" 35 35 #include "core/CoreIncludes.h" 36 #include "core/XMLPort.h"37 36 38 37 namespace orxonox … … 57 56 this->reloadTime_ = 0.5f; 58 57 } 59 60 void FusionMunition::XMLPort(Element& xmlelement, XMLPort::Mode mode)61 {62 SUPER(FusionMunition, XMLPort, xmlelement, mode);63 }64 58 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/FusionMunition.h
r11052 r11057 53 53 FusionMunition(Context* context); 54 54 virtual ~FusionMunition() {} 55 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);56 55 }; 57 56 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/GravityBombMunition.cc
r11052 r11057 7 7 #include "GravityBombMunition.h" 8 8 #include "core/CoreIncludes.h" 9 #include "core/XMLPort.h"10 9 11 10 namespace orxonox … … 27 26 this->reloadTime_ = 0.0f; 28 27 } 29 30 void GravityBombMunition::XMLPort(Element& xmlelement, XMLPort::Mode mode)31 {32 SUPER(GravityBombMunition, XMLPort, xmlelement, mode);33 }34 28 } 35 29 -
code/branches/cpp11_v3/src/modules/weapons/munitions/GravityBombMunition.h
r11052 r11057 28 28 GravityBombMunition(Context* context); 29 29 virtual ~GravityBombMunition() {} 30 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);31 30 }; 32 31 -
code/branches/cpp11_v3/src/modules/weapons/munitions/IceMunition.cc
r11052 r11057 34 34 #include "IceMunition.h" 35 35 #include "core/CoreIncludes.h" 36 #include "core/XMLPort.h"37 36 38 37 namespace orxonox … … 55 54 this->reloadTime_ = 0.5f; 56 55 } 57 58 void IceMunition::XMLPort(Element& xmlelement, XMLPort::Mode mode)59 {60 SUPER(IceMunition, XMLPort, xmlelement, mode);61 }62 56 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/IceMunition.h
r11052 r11057 53 53 IceMunition(Context* context); 54 54 virtual ~IceMunition() {} 55 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);56 55 }; 57 56 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/LaserMunition.cc
r11052 r11057 34 34 #include "LaserMunition.h" 35 35 #include "core/CoreIncludes.h" 36 #include "core/XMLPort.h"37 36 38 37 namespace orxonox … … 58 57 this->reloadTime_ = 0.5f; 59 58 } 60 61 void LaserMunition::XMLPort(Element& xmlelement, XMLPort::Mode mode)62 {63 SUPER(LaserMunition, XMLPort, xmlelement, mode);64 }65 59 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/LaserMunition.h
r11052 r11057 53 53 LaserMunition(Context* context); 54 54 virtual ~LaserMunition() {} 55 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);56 55 }; 57 56 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/LightningMunition.cc
r11052 r11057 34 34 #include "LightningMunition.h" 35 35 #include "core/CoreIncludes.h" 36 #include "core/XMLPort.h"37 36 38 37 namespace orxonox … … 55 54 this->reloadTime_ = 0.5f; 56 55 } 57 58 void LightningMunition::XMLPort(Element& xmlelement, XMLPort::Mode mode)59 {60 SUPER(LightningMunition, XMLPort, xmlelement, mode);61 }62 56 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/LightningMunition.h
r11052 r11057 53 53 LightningMunition(Context* context); 54 54 virtual ~LightningMunition() {} 55 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);56 55 }; 57 56 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/MineMunition.cc
r11052 r11057 54 54 this->reloadTime_ = 0.5f; 55 55 } 56 57 void MineMunition::XMLPort(Element& xmlelement, XMLPort::Mode mode)58 {59 SUPER(MineMunition, XMLPort, xmlelement, mode);60 }61 56 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/MineMunition.h
r11052 r11057 53 53 MineMunition(Context* context); 54 54 virtual ~MineMunition() {} 55 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);56 55 }; 57 56 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/RocketMunition.cc
r11052 r11057 34 34 #include "RocketMunition.h" 35 35 #include "core/CoreIncludes.h" 36 #include "core/XMLPort.h"37 36 38 37 namespace orxonox … … 55 54 this->reloadTime_ = 0.5f; 56 55 } 57 58 void RocketMunition::XMLPort(Element& xmlelement, XMLPort::Mode mode)59 {60 SUPER(RocketMunition, XMLPort, xmlelement, mode);61 }62 56 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/RocketMunition.h
r11052 r11057 53 53 RocketMunition(Context* context); 54 54 virtual ~RocketMunition() {} 55 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);56 55 }; 57 56 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/SplitMunition.cc
r11052 r11057 34 34 #include "SplitMunition.h" 35 35 #include "core/CoreIncludes.h" 36 #include "core/XMLPort.h"37 36 38 37 namespace orxonox … … 55 54 this->reloadTime_ = 0.5f; 56 55 } 57 58 void SplitMunition::XMLPort(Element& xmlelement, XMLPort::Mode mode)59 {60 SUPER(SplitMunition, XMLPort, xmlelement, mode);61 }62 56 } -
code/branches/cpp11_v3/src/modules/weapons/munitions/SplitMunition.h
r11052 r11057 53 53 SplitMunition(Context* context); 54 54 virtual ~SplitMunition() {} 55 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);56 55 }; 57 56 } -
code/branches/cpp11_v3/src/orxonox/controllers/DivisionController.cc
r11052 r11057 55 55 this->actionpoints_.clear(); 56 56 } 57 58 void DivisionController::XMLPort(Element& xmlelement, XMLPort::Mode mode)59 {60 SUPER(DivisionController, XMLPort, xmlelement, mode);61 62 }63 57 void DivisionController::tick(float dt) 64 58 { -
code/branches/cpp11_v3/src/orxonox/controllers/DivisionController.h
r11052 r11057 52 52 //----[orxonox demanded functions]---- 53 53 virtual void tick(float dt); 54 55 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);56 54 //----[orxonox demanded functions]---- 57 55 -
code/branches/cpp11_v3/src/orxonox/controllers/FightingController.cc
r11054 r11057 27 27 */ 28 28 #include "controllers/FightingController.h" 29 #include "core/XMLPort.h"30 29 #include "util/Math.h" 31 30 … … 56 55 { 57 56 58 }59 void FightingController::XMLPort( Element& xmlelement, XMLPort::Mode mode )60 {61 SUPER( FightingController, XMLPort, xmlelement, mode );62 57 } 63 58 void FightingController::lookAtTarget(float dt) -
code/branches/cpp11_v3/src/orxonox/controllers/FightingController.h
r11052 r11057 50 50 virtual ~FightingController(); 51 51 52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);53 54 52 float squaredDistanceToTarget() const; 55 53 bool isLookingAtTarget(float angle) const; -
code/branches/cpp11_v3/src/orxonox/controllers/SectionController.cc
r11054 r11057 55 55 this->parsedActionpoints_.clear(); 56 56 this->actionpoints_.clear(); 57 }58 void SectionController::XMLPort(Element& xmlelement, XMLPort::Mode mode)59 {60 SUPER(SectionController, XMLPort, xmlelement, mode);61 57 } 62 58 -
code/branches/cpp11_v3/src/orxonox/controllers/SectionController.h
r11052 r11057 51 51 //----[orxonox demanded functions]---- 52 52 virtual void tick(float dt); 53 54 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);55 53 //----[/orxonox demanded functions]---- 56 54 -
code/branches/cpp11_v3/src/orxonox/controllers/WingmanController.cc
r11054 r11057 55 55 } 56 56 57 void WingmanController::XMLPort(Element& xmlelement, XMLPort::Mode mode)58 {59 SUPER(WingmanController, XMLPort, xmlelement, mode);60 }61 62 57 //----in tick, move (or look) and shoot---- 63 58 void WingmanController::tick(float dt) -
code/branches/cpp11_v3/src/orxonox/controllers/WingmanController.h
r11052 r11057 51 51 52 52 //----[orxonox demanded functions]---- 53 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);54 55 53 virtual void tick(float dt); 56 54 virtual bool hasWingman()
Note: See TracChangeset
for help on using the changeset viewer.