|
1234567891011121314151617181920212223242526 |
- using UnityEngine;
- using System.Collections.Generic;
- using System.Collections;
-
- namespace coa4u
- {
- public class State
- {
- public readonly ActionInstant action;
- public readonly Predicate trigger;
- public readonly string name;
-
- public State(ActionInstant targetAction, string targetName = "")
- {
- action = targetAction;
- name = targetName;
- }
-
- public State(Predicate targetTrigger, ActionInstant targetAction, string targetName = "")
- {
- trigger = targetTrigger;
- action = targetAction;
- name = targetName;
- }
- }
- }
|