- Timestamp:
 - Jan 17, 2016, 6:41:22 PM (10 years ago)
 - Location:
 - code/branches/cpp11_v3
 - Files:
 - 
          
- 2 edited
 
- 
          . (modified) (1 prop)
 - 
          src/orxonox/worldentities/pawns/TeamBaseMatchBase.h (modified) (4 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
code/branches/cpp11_v3
- Property svn:mergeinfo changed
/code/branches/cpp11_v2 merged: 10996-11008,11010  
 - Property svn:mergeinfo changed
 - 
        
code/branches/cpp11_v3/src/orxonox/worldentities/pawns/TeamBaseMatchBase.h
r9667 r11068 36 36 namespace orxonox 37 37 { 38 namespaceBaseState38 enum class BaseState 39 39 { 40 enum Value 41 { 42 Uncontrolled, 43 ControlTeam1, 44 ControlTeam2, 45 }; 46 } 40 Uncontrolled, 41 ControlTeam1, 42 ControlTeam2, 43 }; 47 44 48 45 … … 58 55 59 56 // Set the state of a base to whatever the argument of the function is 60 void setState(BaseState ::Valuestate)57 void setState(BaseState state) 61 58 { 62 59 this->state_ = state; … … 66 63 67 64 // Get the state of a base as a return value 68 BaseState ::ValuegetState() const65 BaseState getState() const 69 66 { 70 67 return this->state_; … … 75 72 void changeTeamColour(); 76 73 77 BaseState ::Valuestate_;74 BaseState state_; 78 75 }; 79 76 }  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






