NLDClient-yudde/ProjectNLD/Assets/Code/Scripts/Gameplay/Level/State/LevelStateEnd.cs

36 lines
750 B
C#
Raw Normal View History

2023-12-14 19:00:39 +08:00
using Gameplay.Unit;
2024-11-14 14:22:30 +08:00
using LTGame;
2023-08-22 19:08:45 +08:00
using TGS;
using UnityEngine;
namespace Gameplay.Level
{
2024-11-14 14:22:30 +08:00
public class LevelStateEnd : BaseLevelState
2023-08-22 19:08:45 +08:00
{
2024-11-14 14:22:30 +08:00
public LevelStateEnd(Level level) : base(level, ELevelState.End)
2023-08-22 19:08:45 +08:00
{
}
2024-11-14 14:22:30 +08:00
protected override void _OnEnter(NBaseState exitState,
object param)
2023-08-22 19:08:45 +08:00
{
2024-11-14 14:22:30 +08:00
base._OnEnter(exitState, param);
_level.SetPause(true);
DebugUtil.Log("Level End");
2023-08-22 19:08:45 +08:00
}
protected override void _OnCellClick(TerrainGridSystem tgs, int cellIndex, int buttonIndex)
{
}
protected override void _OnClick(Vector2 screenPosition)
{
}
2024-11-14 14:22:30 +08:00
2023-08-22 19:08:45 +08:00
}
}