コード例 #1
0
 public override void LoadContent(ResourceManager resourceManager)
 {
     this.Texture = resourceManager.GetResource("bigEnemyBullet");
 }
コード例 #2
0
 public override void LoadContent(ResourceManager resourceManager)
 {
     this.Texture = resourceManager.GetResource("purpleAlien");
     this.helthTexture = resourceManager.GetResource("healthBar");
 }
コード例 #3
0
 public override void LoadContent(ResourceManager resourceManager)
 {
     Texture = resourceManager.GetResource("littleEnemy");
 }
コード例 #4
0
ファイル: Player.cs プロジェクト: TeamAmpere/AdvancedC-Game
 public override void LoadContent(ResourceManager resourceManager)
 {
     this.Stats.HealthText.Text = "Health: " + this.Health;
     this.Stats.ShieldText.Text = "Shield: " + this.Shield;
     this.Stats.ScoreText.Text = "Score: " + this.Owner.scoreManager.TotalScore;
     this.Stats.Level.Text = "Level: " + this.Level;
     this.Stats.LoadContent(resourceManager);
     //DONT REMOVE THIS
     //HealthText.Text = "Health: " + this.Health;
     //ShieldText.Text = "Shield: " + this.Shield;
     //ScoreText.Text = "Score:" + Owner.scoreManager.TotalScore;
     this.Texture = resourceManager.GetResource("ship");
     this.healthBar = resourceManager.GetResource("playerHealthbar");
     this.shieldBar = resourceManager.GetResource("shieldBar");
     this.dashTexture = resourceManager.GetResource("dash");
 }
コード例 #5
0
 public override void LoadContent(ResourceManager resourceManager)
 {
     Texture = resourceManager.GetResource("asteroid");
 }
コード例 #6
0
ファイル: Bullet.cs プロジェクト: TeamAmpere/AdvancedC-Game
 public override void LoadContent(ResourceManager resourceManager)
 {
     this.explosion = resourceManager.GetSound("explosion");
     this.explosionInstance = this.explosion.CreateInstance();
     Texture = resourceManager.GetResource("laser");
     this.ExplosionTexture = resourceManager.GetResource("explosion3");
 }
コード例 #7
0
ファイル: Dash.cs プロジェクト: TeamAmpere/AdvancedC-Game
 public override void LoadContent(ResourceManager resourceManager)
 {
     this.texture = resourceManager.GetResource("dash");
 }
コード例 #8
0
 public override void LoadContent(ResourceManager resourceManager)
 {
     Texture = resourceManager.GetResource("redfart");
 }
コード例 #9
0
 public override void LoadContent(ResourceManager resourceManager)
 {
     Texture = resourceManager.GetResource("HealthBonus");
 }
コード例 #10
0
 public override void LoadContent(ResourceManager resourceManager)
 {
     this.Texture = resourceManager.GetResource("laser");
 }
コード例 #11
0
 public override void LoadContent(ResourceManager resourceManager)
 {
     this.Texture = resourceManager.GetResource("alienRocket");
 }
コード例 #12
0
 public override void LoadContent(ResourceManager resourceManager)
 {
     Texture = resourceManager.GetResource("smallEnemyBullet");
 }