Added configurable weapons.

This commit is contained in:
2026-01-03 21:49:27 -05:00
parent 79fd63c3ce
commit e8e31bb143
37 changed files with 332 additions and 88 deletions

View File

@@ -2,16 +2,12 @@
using AlienAttack.MonoGame.Things.Items;
using AlienAttack.MonoGame.Things.Weapons;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
using System.Collections.Generic;
using static System.Runtime.InteropServices.JavaScript.JSType;
namespace AlienAttack.MonoGame.Things.Enemies;
internal class GreenEnemy : EnemyShip
public class GreenEnemy : EnemyShip
{
//Enemy01_Green_Frame_1_png_processed

View File

@@ -1,11 +1,10 @@
using AlienAttack.MonoGame.Things.Bullets;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
namespace AlienAttack.MonoGame.Things.Enemies;
internal class RedEnemy : EnemyShip
public class RedEnemy : EnemyShip
{
protected int FireThreshold => 20;
protected int CurrentFireThreshold { get; set; } = 20;

View File

@@ -1,11 +1,10 @@
using AlienAttack.MonoGame.Things.Bullets;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
namespace AlienAttack.MonoGame.Things.Enemies;
internal class TealEnemy : EnemyShip
public class TealEnemy : EnemyShip
{
protected int FireThreshold => 20;
protected int CurrentFireThreshold { get; set; } = 20;