Beispiel #1
0
 public override void Start()
 {
     getNextPartyMember();
     repopulateMenuOptions();
     BattleStateRenderer = new ThinkRenderer(this);
     Paused = false;
 }
Beispiel #2
0
 private void finishThinkForCurrentPartyMember()
 {
     if (currentThinkAction.Target != null || currentThinkAction.Type == ThinkActionType.Defend)
     {
         takeFromInventory(currentThinkAction, CurrentPartyMember);
         Actions.Add(currentThinkAction);
         Battle.LastUsedThinkActionTypes.AddOrReplace(CurrentPartyMember, new Wrapper <ThinkActionType>(currentThinkAction.Type));
         getNextPartyMember();
         repopulateMenuOptions();
         currentThinkAction = null;
         initThinkActionTypeMenu(ThinkActionType.None);
         if (Actions.Count == Battle.PlayerParty.Count)
         {
             BattleStateRenderer = null;
         }
         else
         {
             BattleStateRenderer.ResetOuterMenuTransitions();
         }
     }
 }
 public MoveActorRenderer(BattleState battleState, ThinkRenderer thinkRenderer)
     : base(battleState)
 {
     tintOtherPartyMembers(new Color(Color.White.ToVector3() * 0.7f));
     this.thinkRenderer = thinkRenderer;
 }
 public MoveActorRenderer(BattleState battleState, ThinkRenderer thinkRenderer)
     : base(battleState)
 {
     tintOtherPartyMembers(new Color(Color.White.ToVector3() * 0.7f));
     this.thinkRenderer = thinkRenderer;
 }
 public override void Start()
 {
     getNextPartyMember();
     repopulateMenuOptions();
     BattleStateRenderer = new ThinkRenderer(this);
     Paused = false;
 }