/// <summary> /// /// </summary> /// <param name="game"></param> /// <param name="space"></param> public GameCamera(GameWorld world, ShooterClient client) { this.World = world; this.Game = world.Game; this.client = client; currentFov = 90; //(world.GameClient as ShooterClient).Fov; }
/// <summary> /// /// </summary> /// <param name="game"></param> public SfxSystem( ShooterClient client, World world ) { this.world = world; this.client = client; this.game = client.Game; this.rw = game.RenderSystem.RenderWorld; this.sw = game.SoundSystem.SoundWorld; Game_Reloading(this, EventArgs.Empty); game.Reloading += Game_Reloading; SfxInstance.EnumerateSFX( type => sfxDict.Add( type.Name, type ) ); }