Example #1
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);
            }
        }
Example #2
0
        public void SetMap(MessageDataGameMap message)
        {
            //depending on what type of message either call
            //_map.UpdateMap(message.Info)
            //or
            //_map.InitMap(message.Info)

            //fake info
            //GJ
            //InitMapInfo initInfo = new InitMapInfo();
            ArrayList simplusInfo = new ArrayList();

            SimplusInfo info;
            {
                GameID             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);
            }
            //GJ
            //_map.SetInitMapInfo(initInfo);
        }