Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 26, 2011, 10:06:08 AM (13 years ago)
Author:
jo
Message:

Removing interface - no actual need for it, since only two classes are necessary to have a teamnumber. Prepared tutorial level for new HUD feature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamecontent/src/orxonox/worldentities/ControllableEntity.cc

    r8923 r8951  
    8787        this->setPriority( Priority::VeryHigh );
    8888        this->registerVariables();
     89        this->team_ = -1;
    8990    }
    9091
     
    119120        SUPER(ControllableEntity, XMLPort, xmlelement, mode);
    120121
     122        XMLPortParam(ControllableEntity, "team", setTeam, getTeam, xmlelement, mode).defaultValues(-1);
    121123        XMLPortParam(ControllableEntity, "hudtemplate", setHudTemplate, getHudTemplate, xmlelement, mode);
    122124        XMLPortParam(ControllableEntity, "camerapositiontemplate", setCameraPositionTemplate, getCameraPositionTemplate, xmlelement, mode);
Note: See TracChangeset for help on using the changeset viewer.