[client] add position to IGamePanel

This commit is contained in:
2019-05-13 19:32:52 +03:00
parent 13240677b0
commit cbb28f4158
6 changed files with 17 additions and 13 deletions

View File

@@ -3,11 +3,13 @@ package ru.m.tankz.view.game;
import haxework.view.DataView;
import haxework.view.LabelView;
import haxework.view.VGroupView;
import ru.m.geom.Direction;
import ru.m.tankz.game.GameEvent;
import ru.m.tankz.game.GameState;
import ru.m.tankz.view.common.LifeView;
@:template class DeathGamePanel extends VGroupView implements IGamePanel {
public var position(default, null):Direction = Direction.RIGHT;
@:view var level:LabelView;
@:view var players:DataView<PlayerState, LifeView>;