Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 18, 2012, 4:00:21 PM (13 years ago)
Author:
mentzerf
Message:

+ Now only adding tower if there is enough credit

File:
1 edited

Legend:

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

    r9207 r9211  
    4141#include "gametypes/Deathmatch.h"
    4242                 
     43 #include "TowerDefensePlayerStats.h"
     44                 
    4345namespace orxonox
    4446{
     
    8183                /* handles stats */
    8284                TowerDefensePlayerStats *stats_;
     85                bool hasEnoughCreditForTower(TowerCost towerCost);
    8386       
    84                 bool hasTower(int x, int y);
     87                bool towerExists(int x, int y);
    8588               
    8689                typedef struct {
    8790                        int x;
    8891                        int y;
    89                 } coordinate;
     92                } Coordinate;
    9093               
    9194       
    9295               
    93                 std::vector<coordinate> addedTowersCoordinates_;
     96                std::vector<Coordinate> addedTowersCoordinates_;
    9497                std::vector<Tower*> towers_;
    9598               
Note: See TracChangeset for help on using the changeset viewer.