Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 21, 2012, 11:47:19 PM (13 years ago)
Author:
jo
Message:

Created minimal working version for the TowerDefence module. The code compiles and the level runs. Unfortunately an 'Playfield_ME.mesh' cannot be loaded on my machine.

File:
1 edited

Legend:

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

    r9110 r9112  
    3636#define _TowerDefenseCenterpoint_H__
    3737
    38 #include "TowerDefense/TowerDefensePrereqs.h"
     38#include "towerdefense/TowerDefensePrereqs.h"
    3939
    4040#include <string>
     
    9292               
    9393            /**
    94 
    95                
     94            @brief Set the template for the towers.
     95            @param template The template name to be applied to each tower.
     96            */
     97            void setTowerTemplate(const std::string& templateName)
     98                { this->towerTemplate_ = templateName; }
    9699            /**
    97              * TODO; Replace stone with tower
    98             @brief Set the template for the stones.
    99             @param template The template name to be applied to each stone.
     100            @brief Get the template for the towers.
     101            @return Returns the template name to be applied to each tower.
    100102            */
    101             //void setStoneTemplate(const std::string& templateName)
    102             //    { this->stoneTemplate_ = templateName; }
    103             /**
    104             @brief Get the template for the stones.
    105             @return Returns the template name to be applied to each stone.
    106             */
    107             //const std::string& getStoneTemplate(void) const
    108             //    { return this->stoneTemplate_; }
     103            const std::string& getTowerTemplate(void) const
     104                { return this->towerTemplate_; }
    109105           
    110106
     
    114110            unsigned int width_;
    115111            unsigned int height_;
    116             //std::string stoneTemplate_;
     112            std::string towerTemplate_;
    117113
    118114    };
Note: See TracChangeset for help on using the changeset viewer.