Пример #1
0
 public SimplusInfo(GameObjID id, Circle circle, ISimplusHP hp, IParty party, ILinkInfoContainer links)
 {
     _id    = id;
     _obj2D = circle;
     _hp    = hp;
     _party = party;
     _links = links;
 }
Пример #2
0
 public void SetInfo(ISimplusInfo info)
 {
     _id    = info.ID;
     _hp    = info.HP;
     _party = info.Party;
     _obj2D = info.Obj2D;
     //? reference
     _links = info.Links;
 }
Пример #3
0
        public void SetMap(MessageDataGameMap message)
        {
            ArrayList simplusInfo = new ArrayList();

            SimplusInfo info;
            {
                GameObjID          id     = 124;
                Circle             circle = new Circle(Vector2.zero, 50);
                ISimplusHP         hp     = new SimplusHP(30);
                IParty             party  = new Party(0);
                ILinkInfoContainer links  = new LinkInfoList();
                info = new SimplusInfo(id, circle, hp, party, links);
            }
        }