Movement and Pausable interfaces added
This commit is contained in:
parent
ff89c370ef
commit
2295650e16
8
Assets/Scripts/Movement.meta
Normal file
8
Assets/Scripts/Movement.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc70279699861044bb90fcb1700e5eaf
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
10
Assets/Scripts/Movement/IMovement.cs
Normal file
10
Assets/Scripts/Movement/IMovement.cs
Normal file
@ -0,0 +1,10 @@
|
||||
using Pausable;
|
||||
|
||||
namespace Movement
|
||||
{
|
||||
public interface IMovement : IPausable
|
||||
{
|
||||
float BaseSpeed { get; set; }
|
||||
void Move(int value);
|
||||
}
|
||||
}
|
11
Assets/Scripts/Movement/IMovement.cs.meta
Normal file
11
Assets/Scripts/Movement/IMovement.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7372c0f42c210d04f98b21e15803e940
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Scripts/Pausable.meta
Normal file
8
Assets/Scripts/Pausable.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a98c359db26a84941b48a708071cf618
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Scripts/Pausable/IPausable.cs
Normal file
9
Assets/Scripts/Pausable/IPausable.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace Pausable
|
||||
{
|
||||
public interface IPausable
|
||||
{
|
||||
bool IsPaused { get; }
|
||||
void Pause();
|
||||
void Resume();
|
||||
}
|
||||
}
|
11
Assets/Scripts/Pausable/IPausable.cs.meta
Normal file
11
Assets/Scripts/Pausable/IPausable.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: beb0150e245e8cc4cad614670be50ac8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
x
Reference in New Issue
Block a user