[common] enity id

This commit is contained in:
2019-05-08 16:40:58 +03:00
parent 183c6c16f1
commit b0ae85334b
13 changed files with 46 additions and 42 deletions

View File

@@ -21,8 +21,8 @@ class SpawnPointEntity extends Entity {
public var point(default, null):SpawnPoint;
public function new(point:SpawnPoint, rect:Rectangle) {
super(rect);
public function new(id:Int, point:SpawnPoint, rect:Rectangle) {
super(id, rect);
this.point = point;
}
}