37 lines
763 B
C#
37 lines
763 B
C#
|
|
using Gameplay.Unit;
|
||
|
|
using LTGame;
|
||
|
|
using TGS;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace Gameplay.Level
|
||
|
|
{
|
||
|
|
public class LevelStateEnd : BaseLevelState
|
||
|
|
{
|
||
|
|
|
||
|
|
public LevelStateEnd(Level level) : base(level, ELevelState.End)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
protected override void _OnEnter(NBaseState exitState,
|
||
|
|
object param)
|
||
|
|
{
|
||
|
|
base._OnEnter(exitState, param);
|
||
|
|
|
||
|
|
_level.SetPause(true);
|
||
|
|
DebugUtil.Log("Level End");
|
||
|
|
}
|
||
|
|
|
||
|
|
protected override void _OnCellClick(TerrainGridSystem tgs, int cellIndex, int buttonIndex)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
protected override void _OnClick(Vector2 screenPosition)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|