moved interfaces to CoreSystems

This commit is contained in:
Stedd 2023-10-08 14:07:18 +02:00
parent 357e02ff4f
commit 1bb9d584dd
15 changed files with 3 additions and 153 deletions

@ -1 +1 @@
Subproject commit 2fd48d1475f8116434c184e5812392a4c892b387 Subproject commit f2355fc7825d8f09a407b31aaa4178b6fbdd3406

View File

@ -3,7 +3,8 @@
"rootNamespace": "AsteroidGame", "rootNamespace": "AsteroidGame",
"references": [ "references": [
"GUID:17a5862fcd6383b4b97bad4dcb1e2e5d", "GUID:17a5862fcd6383b4b97bad4dcb1e2e5d",
"GUID:eb3099ff524d60545a136315a154d67b" "GUID:eb3099ff524d60545a136315a154d67b",
"GUID:5d38ea13ae8f69a4395d425d401a557a"
], ],
"includePlatforms": [], "includePlatforms": [],
"excludePlatforms": [], "excludePlatforms": [],

View File

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

View File

@ -1,8 +0,0 @@
namespace AsteroidGame.Interfaces
{
public interface IBuildable
{
public int GetCost();
public int SetCost(int newCost);
}
}

View File

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

View File

@ -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
}
}

View File

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

View File

@ -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();
}
}

View File

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

View File

@ -1,11 +0,0 @@
using UnityEngine;
namespace AsteroidGame.Interfaces
{
public interface ITargetable
{
public Vector3 GetCenterPosition();
public Vector3 GetBasePosition();
}
}

View File

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

View File

@ -1,8 +0,0 @@
namespace AsteroidGame.Interfaces
{
public interface IWeapon
{
public float FireRate { get; set; }
public float Damage { get; set; }
}
}

View File

@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: a4d06a75a5a64c83aa191a8610f5080f
timeCreated: 1664621279

View File

@ -1,14 +0,0 @@
{
"name": "Interfaces",
"rootNamespace": "AsteroidGame",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 17a5862fcd6383b4b97bad4dcb1e2e5d
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: