Example #1
0
 public ICheckpoint Create(ICore core, IntPtr entityPointer)
 {
     return(MockDecorator <TEntity, ICheckpoint> .Create((TEntity)checkpointFactory.Create(core, entityPointer),
                                                         new MockCheckpoint(core, entityPointer)));
 }
 public IColShape Create(ICore core, IntPtr entityPointer)
 {
     return(MockDecorator <TEntity, IColShape> .Create((TEntity)colShapeFactory.Create(core, entityPointer),
                                                       new MockColShape(core, entityPointer)));
 }
Example #3
0
 public IBlip Create(ICore core, IntPtr entityPointer)
 {
     return(MockDecorator <TEntity, IBlip> .Create((TEntity)blipFactory.Create(core, entityPointer),
                                                   new MockBlip(core, entityPointer)));
 }
 public IPlayer Create(ICore core, IntPtr entityPointer, ushort id)
 {
     return(MockDecorator <TEntity, IPlayer> .Create((TEntity)playerFactory.Create(core, entityPointer, id),
                                                     new MockPlayer(core, entityPointer, id)));
 }
Example #5
0
 public IVehicle Create(ICore core, IntPtr entityPointer, ushort id)
 {
     return(MockDecorator <TEntity, IVehicle> .Create((TEntity)vehicleFactory.Create(core, entityPointer, id),
                                                      new MockVehicle(core, entityPointer, id)));
 }
Example #6
0
 public IVoiceChannel Create(IntPtr entityPointer)
 {
     return(MockDecorator <TEntity, IVoiceChannel> .Create((TEntity)voiceChannelFactory.Create(entityPointer),
                                                           new MockVoiceChannel(entityPointer)));
 }