protected override void Load(IntPtr rendererPtr)
 {
     background.LoadInit(rendererPtr, "assets/textures/stars01_brightstarts.png");
     PlayerShipRenderer.LoadInit(rendererPtr, "assets/textures/playersheet.png");
     ParticleRenderer.LoadInit(rendererPtr, "assets/textures/PlayerFire.png");
     ProjectileRenderer.LoadInit(rendererPtr, "assets/textures/PlayerFire.png", "assets/textures/EnemyFire.png");
     StellarRenderer.LoadInit(rendererPtr, "assets/textures/star01.png");
     AnimatedStellarRenderer.LoadInit(rendererPtr, "assets/textures/star_blue_fixed.png");
     ShieldRenderer.LoadInit(rendererPtr, "assets/textures/Shield.png");
     ShieldParticleRenderer.LoadInit(rendererPtr, "assets/textures/ShieldParticle.png");
     ExplosionParticleRenderer.LoadInit(rendererPtr, "assets/textures/ExplosionParticle.png");
     EnemyShipRenderer.LoadInit(rendererPtr, "assets/textures/enemysheet.png");
     ui.LoadInit(rendererPtr);
 }
Example #2
0
 public Shield(Actor actor)
 {
     this.actor = actor;
     Renderer   = new ShieldRenderer(actor);
 }