Files
evilsatellites/EvilSatellites/Weapons/IWeapon.cs
T

24 lines
559 B
C#
Raw Normal View History

2021-04-11 17:09:57 +02:00
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);
2021-04-21 14:14:14 +02:00
void Reload(int amount);
2021-04-11 17:09:57 +02:00
void Stop();
void Update(GameTime time);
float FireRate { get; set; }
int MaxAmmo { get; set; }
int RemainingAmmo { get; set; }
WeaponState State { get; set; }
2021-04-25 02:07:37 +02:00
void Destroy();
2021-04-11 17:09:57 +02:00
}
}