public DoMakeChoice(FakeAnimator anim, FakeActor ActorInstance, SpriteRenderer renderer, Action <BATTLE_ACTION_TYPE, FakeActor> OnChoice = null)
    {
        Id                  = "choice";
        factionType         = ActorInstance.factionType;
        opponentFactionType = ActorInstance.opponentFactionType;

        SpriteColour = renderer.color;

        this.anim     = anim;
        this.OnChoice = OnChoice;
    }
Exemple #2
0
 public DoHit(FakeAnimator anim, FakeActor target)
 {
     Id          = "attack";
     this.anim   = anim;
     this.target = target;
 }
Exemple #3
0
 public DoTakeHeal(FakeAnimator anim)
 {
     Id        = "takeHeal";
     this.anim = anim;
 }
Exemple #4
0
 public DoHeal(FakeAnimator anim, FakeActor target)
 {
     Id          = "heal";
     this.anim   = anim;
     this.target = target;
 }
 public DoTakeDamage(FakeAnimator anim)
 {
     Id        = "takeDamage";
     this.anim = anim;
 }