From 79115386afc1dee957f77e9a82b5b9b2c5f347e6 Mon Sep 17 00:00:00 2001 From: sicarius Date: Tue, 16 Jan 2007 16:10:05 +0000 Subject: Changed some things in Concept directory --- source/Concept/robot.cpp | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 source/Concept/robot.cpp (limited to 'source/Concept/robot.cpp') diff --git a/source/Concept/robot.cpp b/source/Concept/robot.cpp deleted file mode 100644 index 768554e..0000000 --- a/source/Concept/robot.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "robot.h" - -//----------------------------------------------------------------------------- -Robot::~Robot() -{ - while(!modules.empty()) - { - moduleMap::iterator iter = modules.begin(); - delete iter->second; - modules.erase(iter); - } -} - -//----------------------------------------------------------------------------- -bool Robot::AddModule(IO_Module* newModule) -{ - moduleMap::iterator itr = modules.find(newModule->GetId()); - if(itr != modules.end()) - return false; - - modules[newModule->GetId()] = newModule; - return true; -} - -//----------------------------------------------------------------------------- -bool Robot::RemoveModule(IO_Module* oldModule) -{ - return RemoveModule(oldModule->GetId()); -} - -//----------------------------------------------------------------------------- -void Robot::Update() -{ - //insert code here -} - -//--- EOF --- \ No newline at end of file -- cgit v1.2.3