source:
code/branches/WorldMap_HS18/src/orxonox/controllers/SMCoord.cc
@
12106
Last change on this file since 12106 was 12106, checked in by linggj, 5 years ago | |
---|---|
File size: 279 bytes |
Line | |
---|---|
1 | #include "SMCoord.h" |
2 | |
3 | namespace orxonox { |
4 | SMCoord::SMCoord() { |
5 | set(0); |
6 | } |
7 | |
8 | SMCoord::SMCoord(int x) { |
9 | set(x); |
10 | } |
11 | |
12 | void SMCoord::set(int index) { |
13 | this->index = index; |
14 | } |
15 | |
16 | int SMCoord::getIndex() { |
17 | return this->index; |
18 | } |
19 | } |
Note: See TracBrowser
for help on using the repository browser.