Add basic radar and weapon

This commit is contained in:
2021-04-11 17:09:57 +02:00
parent 1c2fc7b86b
commit 2f7759d190
26 changed files with 465 additions and 45 deletions
+22
View File
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EvilSatellites.Weapons;
using Microsoft.Xna.Framework;
namespace EvilSatellites.Weapons
{
public interface IWeapon
{
void Shoot(GameTime time);
void Reload();
void Stop();
void Update(GameTime time);
float FireRate { get; set; }
int MaxAmmo { get; set; }
int RemainingAmmo { get; set; }
WeaponState State { get; set; }
}
}