Fixed some bugs and modifications to mark
This commit is contained in:
parent
02c9ae0ab4
commit
6840297c08
10 changed files with 114 additions and 24 deletions
|
|
@ -35,4 +35,13 @@ public:
|
|||
direction.y = dy;
|
||||
}
|
||||
|
||||
// This is probably neccessary to initialize an object with our GC
|
||||
// Since allocation and construction cannot be done at the same time
|
||||
void init(string n, Point pos, Point s, Point dir) {
|
||||
name = n;
|
||||
position = pos;
|
||||
size = s;
|
||||
direction = dir;
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue