Add initial project files and configurations for Unity setup
This commit is contained in:
8
Assets/Scripts/Core/Ports/IPersistenceService.cs
Normal file
8
Assets/Scripts/Core/Ports/IPersistenceService.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Core.Ports
|
||||
{
|
||||
public interface IPersistenceService
|
||||
{
|
||||
void Save(string key, int value);
|
||||
int Load(string key, int defaultValue = 0);
|
||||
}
|
||||
}
|
||||
3
Assets/Scripts/Core/Ports/IPersistenceService.cs.meta
Normal file
3
Assets/Scripts/Core/Ports/IPersistenceService.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b21e8384f7154851a4b258200a5eaed8
|
||||
timeCreated: 1765568951
|
||||
13
Assets/Scripts/Core/Ports/ITileView.cs
Normal file
13
Assets/Scripts/Core/Ports/ITileView.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Core.Domain;
|
||||
|
||||
namespace Core.Ports
|
||||
{
|
||||
public interface ITileView
|
||||
{
|
||||
string TileId { get; }
|
||||
void Initialize(Tile tile);
|
||||
void SetVisualState(TileState state);
|
||||
void DropPhysics();
|
||||
void Dispose();
|
||||
}
|
||||
}
|
||||
3
Assets/Scripts/Core/Ports/ITileView.cs.meta
Normal file
3
Assets/Scripts/Core/Ports/ITileView.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a4d59fe7258e450a868cd36cd306c0da
|
||||
timeCreated: 1765560752
|
||||
Reference in New Issue
Block a user