コード例 #1
0
 protected override void LoadContent()
 {
     spriteBatch = new SpriteBatch(GraphicsDevice);
     ResourceLoader.LoadResources(Content);
     player = new Player();
     floor = new Floor();
     ui = new UITop(player);
     enemy = new Enemy(player);
 }
コード例 #2
0
 protected override void LoadContent()
 {
     spriteBatch = new SpriteBatch(GraphicsDevice);
     ResourceLoader.LoadResources(Content);
     player = new Player();
     floor  = new Floor();
     ui     = new UITop(player);
     enemy  = new Enemy(player);
 }