moved interfaces to CoreSystems
This commit is contained in:
parent
357e02ff4f
commit
1bb9d584dd
|
@ -1 +1 @@
|
|||
Subproject commit 2fd48d1475f8116434c184e5812392a4c892b387
|
||||
Subproject commit f2355fc7825d8f09a407b31aaa4178b6fbdd3406
|
|
@ -3,7 +3,8 @@
|
|||
"rootNamespace": "AsteroidGame",
|
||||
"references": [
|
||||
"GUID:17a5862fcd6383b4b97bad4dcb1e2e5d",
|
||||
"GUID:eb3099ff524d60545a136315a154d67b"
|
||||
"GUID:eb3099ff524d60545a136315a154d67b",
|
||||
"GUID:5d38ea13ae8f69a4395d425d401a557a"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: b20f0794cd5868b4eadf6614b8ab88b9
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||
namespace AsteroidGame.Interfaces
|
||||
{
|
||||
public interface IBuildable
|
||||
{
|
||||
public int GetCost();
|
||||
public int SetCost(int newCost);
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 99361805272d7f6419384097857e2bd6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,31 +0,0 @@
|
|||
namespace AsteroidGame.Interfaces
|
||||
{
|
||||
public interface IDamageable
|
||||
{
|
||||
public void ModifyHealth(int healthChange);
|
||||
|
||||
#region PublicProperties
|
||||
|
||||
public bool IsInvulnerable { get; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Setters
|
||||
public void SetHealth(int newHealth);
|
||||
|
||||
public void SetMaxHealth(int newHealth);
|
||||
|
||||
public void SetInvulnerable (bool newState);
|
||||
|
||||
#endregion
|
||||
|
||||
#region Getters
|
||||
public int GetHealth();
|
||||
|
||||
public int GetMaxHealth();
|
||||
|
||||
public float GetHealthFactor();
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d0290b6d2e8462547a0d40b67a1076e3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,17 +0,0 @@
|
|||
namespace AsteroidGame.Interfaces
|
||||
{
|
||||
public interface IPowerSystem
|
||||
{
|
||||
public bool IsGenerator { get; }
|
||||
|
||||
public bool IsConsumer { get; }
|
||||
|
||||
public void SetMaxPower(int newValue);
|
||||
|
||||
public int GetMaxPower();
|
||||
|
||||
public int GetCurrentPower();
|
||||
|
||||
public float GetPowerFactor();
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c3e9b410a74a04f4ab85e908d2a684a8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,11 +0,0 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace AsteroidGame.Interfaces
|
||||
{
|
||||
public interface ITargetable
|
||||
{
|
||||
public Vector3 GetCenterPosition();
|
||||
|
||||
public Vector3 GetBasePosition();
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3d338501124dcf349b3852a83d20dbe4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||
namespace AsteroidGame.Interfaces
|
||||
{
|
||||
public interface IWeapon
|
||||
{
|
||||
public float FireRate { get; set; }
|
||||
public float Damage { get; set; }
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a4d06a75a5a64c83aa191a8610f5080f
|
||||
timeCreated: 1664621279
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
"name": "Interfaces",
|
||||
"rootNamespace": "AsteroidGame",
|
||||
"references": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 17a5862fcd6383b4b97bad4dcb1e2e5d
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue