added gamescreen UI and simple start menu
This commit is contained in:
@@ -8,5 +8,6 @@ namespace Darkmatter.Core
|
||||
public void PlayMovementAnim(Vector2 velocity);
|
||||
public void PlayReloadAnim(IReloadableWeapon reloadableWeapon);
|
||||
void PlayShootAnim();
|
||||
void PlayDeadAnim();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface IPlayerPawn
|
||||
public interface IPlayerPawn : IDamageable
|
||||
{
|
||||
bool isGrounded { get; }
|
||||
|
||||
|
||||
@@ -11,5 +11,8 @@ namespace Darkmatter.Core
|
||||
public Vector2 moveInput { get; }
|
||||
public Vector2 lookInput { get; }
|
||||
public bool isShooting { get; }
|
||||
|
||||
public void DisableInput();
|
||||
public void EnableInput();
|
||||
}
|
||||
}
|
||||
|
||||
8
Assets/Darkmatter/Code/Core/Contracts/UI.meta
Normal file
8
Assets/Darkmatter/Code/Core/Contracts/UI.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fb18939ec56040244812046623bfe046
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,14 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Core
|
||||
{
|
||||
public interface IGameScreenController
|
||||
{
|
||||
|
||||
void UpdateFireableBulletCount(int bulletCount);
|
||||
void UpdateRemainingZombiesCount(int zombiesCount);
|
||||
void UpdateTotalZombiesCount(int totalZombiesCount);
|
||||
void ShowGameOverText();
|
||||
void ShowPlayerHealth(int health);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e6871718dd9c3244eac4e4eed90a289f
|
||||
Reference in New Issue
Block a user