Create All Needed Scripts

This commit is contained in:
2025-12-14 09:23:38 +08:00
parent 980b26dd5e
commit 6fe70bd113
53 changed files with 1988 additions and 195 deletions

View File

@@ -0,0 +1,26 @@
using Enums;
using UnityEngine;
namespace Services {
public class Gem {
private GemType type;
private Vector2Int position;
public GemType Type => this.type;
public Vector2Int Position => this.position;
private int scoreValue;
public int ScoreValue => this.scoreValue;
public bool isMatch = false;
public Gem(GemType type, Vector2Int position) {
this.type = type;
this.position = position;
}
public void SetPosition(Vector2Int position) {
this.position = position;
}
}
}