Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 23, 2015, 3:22:04 PM (10 years ago)
Author:
erbj
Message:

adjusted the TowerDefenseSelecter, but there is still a problem with the include (context in the TowerDefense.cc file

Location:
code/branches/towerdefenseFS15/src/modules/towerdefense
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/towerdefenseFS15/src/modules/towerdefense/TowerDefense.cc

    r10368 r10388  
    8888#include "core/command/ConsoleCommand.h"
    8989
     90
    9091namespace orxonox
    9192{
     
    108109        }*/
    109110
    110         selectedPos = new TDCoordinate(0,0);
    111 //        TowerDefenseSelecter Selecter = new TowerDefenseSelecter();
     111        this->Selecter = new TowerDefenseSelecter(context);
    112112
    113113
  • code/branches/towerdefenseFS15/src/modules/towerdefense/TowerDefense.h

    r10368 r10388  
    4343#include "util/Output.h"
    4444#include "core/object/WeakPtr.h"
     45#include "TowerDefenseSelecter.h"
     46
    4547
    4648namespace orxonox
     
    7375        int reduceLifes(int NumberofLifes){ return lifes_-=NumberofLifes; }
    7476        TDCoordinate* selectedPos;
     77        TowerDefenseSelecter* Selecter;
    7578
    7679        //virtual void pawnKilled(Pawn* victim, Pawn* killer = 0);
Note: See TracChangeset for help on using the changeset viewer.