Beispiel #1
0
        public override MapObj convertToMapObj()
        {
            MapObj temp = new MapObj(ID, type, BombermanOverlord.vecToFlArray(transform.localPosition));

            temp.explodeDuration = explodeTime - Time.time;
            return(temp);
        }
        public override MapObj convertToMapObj()
        {
            MapObj temp = new MapObj(ID, type, BombermanOverlord.vecToFlArray(transform.localPosition), bombsLeft);

            temp.targetPos = BombermanOverlord.vecToFlArray(targetPos);
            temp.color     = color;
            return(temp);
        }