コード例 #1
0
ファイル: GameCamera.cs プロジェクト: ttou73/IronStar
 /// <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;
 }
コード例 #2
0
ファイル: SfxSystem.cs プロジェクト: demiurghg/ShooterDemo
        /// <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 ) );
        }