Exemple #1
0
 public void PlayAction(IEnumerable <PalCommand> commands)
 {
     Timer  = 0.0f;
     Action = new PalAction()
     {
         Name     = "dummy",
         Commands = commands.ToList()
     };
 }
Exemple #2
0
 public void PlayAction(PalAction action)
 {
     Timer  = 0.0f;
     Action = new PalAction()
     {
         Name     = "dummy",
         Commands = action?.Commands
     };
 }
Exemple #3
0
 public CommandsViewModel(PalAction action)
     : base(action.Commands.Select(x => new CommandModel(x)))
 {
     Action = action;
 }