コード例 #1
0
ファイル: Game1.cs プロジェクト: ssylt/TestGame
 public Game1()
 {
     _graphics             = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     contentHandler        = new ContentHandler(Content.ServiceProvider, Content.RootDirectory);
     IsMouseVisible        = true;
 }
コード例 #2
0
ファイル: Zone.cs プロジェクト: ssylt/TestGame
 public Zone(ContentHandler contentHandler, Vector2 vector, WorldGraphics graphics, List <Character> currentCharacters, PC pc, Grid grid)
 {
     this.vector        = vector;
     this.graphics      = graphics;
     currCharacters     = currentCharacters;
     this.pc            = pc;
     this.grid          = grid;
     this.hasBackground = false;
     alpha          = 1;
     textureStrings = new List <string>();
 }