[common] implement GameEvent.DESTORY.CELL

This commit is contained in:
2019-05-13 21:56:28 +03:00
parent cbb28f4158
commit 03b461f082
5 changed files with 52 additions and 38 deletions

View File

@@ -130,6 +130,9 @@ class Render extends SpriteView implements IRender {
public function onMove(entity:EntityType):Void {
}
public function onDestroy(entity:EntityType):Void {
}
public function onGameEvent(event:GameEvent):Void {
switch event {
case DESTROY(TANK(tank, who, wherewith, score)):