public static RPGActionQueue Create(RPGActionType actionType, Dictionary <string, object> parameters) { var newQueue = new RPGActionQueue(); newQueue.Actions.Add(new RPGAction(actionType, parameters)); return(newQueue); }
public RPGAction(RPGActionType actionType) { ID = Guid.NewGuid().ToString(); Type = actionType; Params = new Dictionary <string, object>(); Animation = null; Sound = null; }
public RPGAction(RPGActionType actionType, Dictionary <string, object> parameters) { ID = Guid.NewGuid().ToString(); Type = actionType; Params = parameters; Animation = null; Sound = null; }
public RPGActionQueue Add(RPGActionType actionType, Dictionary <string, object> moveParameters) { Actions.Add(new RPGAction(actionType, moveParameters)); return(this); }