16 lines
380 B
C#
16 lines
380 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class OtherTargetPolicy: TargetingPolicy
|
|
{
|
|
private BattleParticipant owner;
|
|
|
|
public OtherTargetPolicy(BattleParticipant owner) {
|
|
this.owner = owner;
|
|
}
|
|
|
|
public override bool CanTarget(BattleParticipant participant) {
|
|
return participant != this.owner;
|
|
}
|
|
}
|