Example #1
0
 public static void Add(this GameComponentCollection collection, IUpdatablePart component, Game game)
 {
     collection.Add(new UpdatableComponentWrapper(component, game));
 }
Example #2
0
 public UpdatableComponentWrapper(IUpdatablePart component, Game game) : base(game)
 {
     this.component = component;
 }