Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface IHumonoidAnim
|
||||
{
|
||||
void PlayJumpAnim();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5a12b671db097ec4ca9a6d81b9843c9e
|
||||
13
Assets/Darkmatter/Code/Core/Contracts/Player/IPlayerAnim.cs
Normal file
13
Assets/Darkmatter/Code/Core/Contracts/Player/IPlayerAnim.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface IPlayerAnim : IHumonoidAnim
|
||||
{
|
||||
public void PlayMovementAnim(Vector2 velocity);
|
||||
public void PlayReloadAnim(IReloadableWeapon reloadableWeapon);
|
||||
void PlayShootAnim();
|
||||
void PlayDeadAnim();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7b737e58ea9c4574abb8e4c7c5b8eaa0
|
||||
14
Assets/Darkmatter/Code/Core/Contracts/Player/IPlayerPawn.cs
Normal file
14
Assets/Darkmatter/Code/Core/Contracts/Player/IPlayerPawn.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface IPlayerPawn : IDamageable
|
||||
{
|
||||
bool isGrounded { get; }
|
||||
|
||||
void Jump(float jumpForce);
|
||||
|
||||
void Move(Vector3 motion);
|
||||
void SetCameraRotation(float pitch, float yaw);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d2804a4028b617e43a4dc4049b19c5b5
|
||||
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface ITargetProvider
|
||||
{
|
||||
public RaycastHit hitPoint { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ebad764a0da2b7b4d8273baf63dd5500
|
||||
Reference in New Issue
Block a user