separated logic for weapon code refactored
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface IAimProvider
|
||||
{
|
||||
public Vector3 AimDir { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,6 @@ namespace Darkmatter.Core
|
||||
{
|
||||
public interface IPlayerPawn
|
||||
{
|
||||
Camera mainCamera { get; }
|
||||
bool isGrounded { get; }
|
||||
|
||||
void Jump(float jumpForce);
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface ITargetProvider
|
||||
{
|
||||
public RaycastHit hitPoint { get; }
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,6 @@ namespace Darkmatter.Core
|
||||
{
|
||||
public interface ICameraService
|
||||
{
|
||||
|
||||
Camera mainCamera { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user