feat: Setup MVP
This commit is contained in:
parent
14fdd4558e
commit
1dd490b7ed
27 changed files with 555 additions and 52 deletions
13
Assets/Scripts/Domain/Model.cs
Normal file
13
Assets/Scripts/Domain/Model.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
namespace Domain {
|
||||
public class Model {
|
||||
public int Score { private set; get; }
|
||||
|
||||
public Model(int score) {
|
||||
Score = score;
|
||||
}
|
||||
|
||||
public void AddScore(int score) {
|
||||
Score += score;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue