You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
466 B
27 lines
466 B
using System.Collections.Generic;
|
|
|
|
namespace CMSGame
|
|
{
|
|
public abstract class Action
|
|
{
|
|
public string Name = string.Empty;
|
|
|
|
public ActionTargetTypes TargetType;
|
|
|
|
public List<IActionTarget> Targets = new();
|
|
|
|
public IActionTarget? Target => Targets.Count > 0 ? Targets[0] : null;
|
|
}
|
|
|
|
public enum ActionTargetTypes
|
|
{
|
|
None,
|
|
Single,
|
|
Multiple
|
|
}
|
|
|
|
public interface IActionTarget
|
|
{
|
|
}
|
|
}
|