You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
546 B

1 month ago
using CoreGame;
using Entitas;
namespace CoreGame.Render
{
public class GunFeature : Feature
{
public GunFeature(Contexts contexts)
{
// Add(new AddEquipAssetSystem(contexts));
// Add(new SwitchEquipSystem(contexts));
Add(new GunFireSystem(contexts), new SystemTickInfo(){frameSpan = GameTime.MiddleSpanTime});
Add(new GunAimEnemySystem(contexts));
Add(new GunReloadSystem(contexts), new SystemTickInfo(){frameSpan = GameTime.LowSpanTime});
}
}
}