using UnityEngine;
using Zenject;
public class GameRunner : ITickable
{
private Ship ship;
[Inject]
public void Construct(Ship ship_instance)
{
this.ship = ship_instance;
}
public void Tick()
{
if (!Input.GetKeyDown(KeyCode.Space)) return;
this.ship.Take_damage(10);
}
}