[common] implement GameEvent.DESTORY.CELL
This commit is contained in:
@@ -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)):
|
||||
|
||||
Reference in New Issue
Block a user