23 lines
506 B
C#
23 lines
506 B
C#
using Gameplay.Building.Impl.Common;
|
|
namespace Gameplay.Building.Impl
|
|
{
|
|
public class BuildWall : UnitBuild
|
|
{
|
|
|
|
public BuildWall(uint id,
|
|
int troopId) : base(id, troopId)
|
|
{
|
|
}
|
|
|
|
protected override void _InitFsm()
|
|
{
|
|
base._InitFsm();
|
|
|
|
_fsm.Add(new CommonBuildStateIdle(this));
|
|
_fsm.Add(new CommonBuildStateDestroy(this));
|
|
_fsm.Add(new CommonBuildStateWaitRemove(this));
|
|
|
|
}
|
|
}
|
|
}
|