public TankController(TankModel tankModel, TankView tankView) { TankModel = tankModel; TankView = tankView; BulletVariants = tankModel.BulletVariants; TankView.Initialize(this); TankView.RandomSpawning(); }
public void EnemyHit(Vector3 position) { TankView.DestroyTank(); TankService.Instance.TankDestroyed(position); }
public void MovementDirector() { TankView.RotationAndTranslation(TankModel.Force, TankModel.Torque); }