Загрузчик не юзлес + больше интерфейса
This commit is contained in:
1 parent
f3a83eb909
commit
cd384239ff
28 files changed
+379
-1758
No files matched your search
@@ -1,9 +0,0 @@
|
||||
namespace Code.Gameplay.Orders.Order
|
||||
{
|
||||
public interface IScoreService
|
||||
{
|
||||
int Score { get; }
|
||||
void IncreaseScore(int amount);
|
||||
void DecreaseScore(int amount);
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 64668c9ef4c441af84c635365cfbb2de
|
||||
timeCreated: 1763559523
|
||||
@@ -1,11 +0,0 @@
|
||||
namespace Code.Gameplay.Orders.Order
|
||||
{
|
||||
public class ScoreService : IScoreService
|
||||
{
|
||||
private int _score;
|
||||
public int Score => _score;
|
||||
|
||||
public void IncreaseScore(int amount) => _score += amount;
|
||||
public void DecreaseScore(int amount) => _score -= amount;
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 619f2425460843aaa1f0f21e302158ce
|
||||
timeCreated: 1763559528
|
||||
Reference in new issue
Block a user