Пример #1
0
 public ItemActions(GameAction prototype)
 {
     Prototype = prototype;
 }
Пример #2
0
 /// <summary>
 /// Creates an ItemAction using the default
 /// WindUpAction as a prototype followed by actions
 /// generated using the specified action factory
 /// </summary>
 public ItemActions(ActionFactory actionFactory)
 {
     Prototype = new WindUpAction(actionFactory);
 }