Commmit minigame and tile logic

This commit is contained in:
2025-10-10 14:45:23 +02:00
parent 6b1eb45490
commit 1fe48c995b
9 changed files with 433 additions and 59 deletions

View File

@@ -6,6 +6,29 @@
/// </summary>
public class Tile : MonoBehaviour
{
[Header("Path In")]
public bool pathInLeft;
public bool pathInCenter;
public bool pathInRight;
[Header("Path Out")]
public bool pathOutLeft;
public bool pathOutCenter;
public bool pathOutRight;
[Header("Difficulty")]
public int difficultyLevel; // 1 (easy) to 5 (hard)
// --- FLOATING AREA LOGIC ---
[Header("Middle Obstacle")]
// Indicates if this tile has a floating area in the middle
public bool hasFloatingAreaMiddle;
// Indicates if this tile continues a floating area in the middle
public bool continuesFloatingAreaMiddle;
// Indicates if this tile ends a floating area in the middle
public bool endsFloatingAreaMiddle;
// You can set these in the Inspector for each tile prefab to control floating area behavior
// This is primarily a marker component, but we could add tile-specific properties here if needed
// Optional: Add properties that might be useful for all tiles