Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7675 in orxonox.OLD for branches/water/src/world_entities


Ignore:
Timestamp:
May 18, 2006, 11:23:40 AM (18 years ago)
Author:
stefalie
Message:

branches/water: loadparams included

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/water/src/world_entities/environments/mapped_water.cc

    r7672 r7675  
    1515
    1616#include "mapped_water.h"
    17 
     17#include "util/loading/load_param.h"
    1818
    1919MappedWater::MappedWater(const TiXmlElement* root)
     
    3030void MappedWater::loadParams(const TiXmlElement* root)
    3131{
    32   /*WorldEntity::loadParams(root);
     32  WorldEntity::loadParams(root);
    3333
    34   LoadParam(root, "height", this, MappedWater, setHeight)
    35   .describe("sets the y-coord of the Water")
    36   .defaultValues(0.0f);*/
     34  LoadParam(root, "height", this, MappedWater, setHeight);
    3735}
    3836
Note: See TracChangeset for help on using the changeset viewer.