public void InitTroopAs(TroopType type, int number) { HP = number * 10; _troopType = type; AntInstance.InitAnts(number); MoveInstance.Init(); FightInstance.Init(); }
public override void ConfigureInstance(IAnimation tween) { //Debug.Log("ConfigureInstance: " + tween); MoveInstance m = (MoveInstance)tween; m.XFrom = XFrom; m.XTo = XTo; m.YFrom = YFrom; m.YTo = YTo; m.XBy = XBy; m.YBy = YBy; //m.Delay = Delay; //m.Duration = Duration; //m.Easer = Easer; }
public Move() { Blueprint = new MoveInstance(); }
public Move() { Blueprint = new MoveInstance(); }