Beispiel #1
0
        public void Init(List <MapHero> heroes, Team team)
        {
            this.heroes      = heroes;
            this.currentHero = heroes[0];
            this.team        = team;

            this.mapCamera.Init(this.currentHero.currentTile);
        }
        private float movementSpeed = 0.1F;         // TODO: global setting

        protected void Awake()
        {
            this.pathfinder = Pathfinding.Instance;
            this.mapHero    = GetComponent <MapHero>();
            this.map        = GameManager.Instance.currentMap;
        }