Movement and Pausable interfaces added

This commit is contained in:
Syntriax 2022-02-21 14:25:17 +03:00
parent ff89c370ef
commit 2295650e16
6 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: bc70279699861044bb90fcb1700e5eaf
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,10 @@
using Pausable;
namespace Movement
{
public interface IMovement : IPausable
{
float BaseSpeed { get; set; }
void Move(int value);
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7372c0f42c210d04f98b21e15803e940
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a98c359db26a84941b48a708071cf618
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
namespace Pausable
{
public interface IPausable
{
bool IsPaused { get; }
void Pause();
void Resume();
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: beb0150e245e8cc4cad614670be50ac8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: