Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 27, 2012, 3:59:19 PM (12 years ago)
Author:
mentzerf
Message:

added spaceship that follows four waypoints on the playfield

File:
1 edited

Legend:

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

    r9124 r9129  
    5858#include "worldentities/SpawnPoint.h"
    5959#include "worldentities/pawns/Pawn.h"
     60#include "worldentities/pawns/SpaceShip.h"
    6061
    6162namespace orxonox
     
    9394        static bool test = false;
    9495        if (!test)
     96        {
    9597                        orxout()<< "First tick." <<endl;
    9698            spawnEnemy();
     
    101103        void TowerDefense::spawnEnemy()
    102104        {
    103         //      SpawnPoint *sp = *this->spawnpoints_.begin();
    104                 //Pawn* p = sp->spawn();
     105                SpawnPoint *sp = *this->spawnpoints_.begin();
     106
     107                Pawn* p = sp->spawn();
    105108        }
    106109
Note: See TracChangeset for help on using the changeset viewer.