private void ActiveActRange() { if (_actRangeRoot != null) { var chainInfo = new Tile.ChainInfo(null); // TODO : 실제 이미지 이름으로 변경 chainInfo.ActiveTileImage = "actRange"; _actRangeRoot.ActiveChain(ActRange, chainInfo); } }
public override void Run() { base.Run(); if (ActTarget.GetPlacedTile() != null) { MapManager.Instance.ChangeAllTileState <Tile.State_Deactive>(); var placedTile = ActTarget.GetPlacedTile(); var chainInfo = new Tile.ChainInfo((Tile tile) => { return(tile.GetAttachObject() != null); }); chainInfo.Cost = new Tile.ObjectCost(ActTarget); placedTile.ActiveChain(Range, chainInfo); } }