Last change
on this file since 37 was
31,
checked in by rosiere, 17 years ago
|
Class Position qui encapsule la génération des fichiers de positions
|
File size:
584 bytes
|
Rev | Line | |
---|
[31] | 1 | #ifdef POSITION |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/include/Position.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
| 14 | Position::Position (void) |
---|
| 15 | { |
---|
| 16 | _list_component = new list<Entity *>; |
---|
| 17 | }; |
---|
| 18 | |
---|
| 19 | Position::Position (const Position & position) |
---|
| 20 | { |
---|
| 21 | _entity = position._entity ; |
---|
| 22 | _list_component = position._list_component; |
---|
| 23 | }; |
---|
| 24 | |
---|
| 25 | Position::~Position () |
---|
| 26 | { |
---|
| 27 | delete _entity; |
---|
| 28 | delete _list_component; |
---|
| 29 | }; |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | }; // end namespace behavioural |
---|
| 33 | }; // end namespace morpheo |
---|
| 34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.