[common] enity id
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user