21 lines
501 B
C#
21 lines
501 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class RotateEffect : IBattleEffect
|
|
{
|
|
private TeamChoice team;
|
|
private int positions;
|
|
|
|
public RotateEffect(TeamChoice team, int positions) {
|
|
this.team = team;
|
|
this.positions = positions;
|
|
}
|
|
|
|
public void Apply(IBattleEffectResolver resolver) {
|
|
resolver.Rotate(this);
|
|
}
|
|
|
|
public TeamChoice Team {get => this.team;}
|
|
public int Positions {get => this.positions;}
|
|
}
|