23 lines
525 B
C#
23 lines
525 B
C#
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; }
|
|
}
|
|
}
|