示例#1
0
 public abstract int CostToEnter(MapCell cell);
示例#2
0
 public abstract bool CanSeeThru(MapCell cell);
示例#3
0
 public abstract bool CanEnter(MapCell cell);
示例#4
0
 public abstract bool CanSpawn(MapCell cell);
示例#5
0
 public override bool CanSeeThru(MapCell cell)
 {
     return(cell.type != TerrainType.mountain);
 }
示例#6
0
 public void PlaceMobile(MapMobile mobile, MapCell cell)
 {
     cell.AddMobile(mobile);
     mobile.transform.position          = cell.transform.position;
     mobile.spriteRenderer.sortingOrder = cell.spriteRenderer.sortingOrder + 1;
 }