Exemplo n.º 1
0
        public UnitPresenter(Unit u)
        {
            this.original = u;
            Unit          = u;
            Country       = (u.Side as Team).Country;
            Position      = new FigurePresenter(u.Polygon, u);
            Name          = u.Properties.Name;
            Abbreviation  = Name; // todo correct this

            Update();
        }
Exemplo n.º 2
0
        public UnitPresenter(Unit u)
        {
            this.original = u;
            Unit = u;
            Country = (u.Side as Team).Country;
            Position = new FigurePresenter(u.Polygon, u);
            Name = u.Properties.Name;
            Abbreviation = Name; // todo correct this

            Update();
        }