public bool CanReplaceTile(Entity entity, Vector3I location, Tile tile, TileAccessFlags accessFlags)
 {
     return(true);
 }
Exemple #2
0
 /// <summary>
 /// Called from Universe.CanRemoveTile
 /// This function only get's called if the method body prior to this call has not returned false. If the core logic
 /// determines a tile cannot be removed this method won't be executed
 /// </summary>
 /// <param name="entity"></param>
 /// <param name="location"></param>
 /// <param name="accessFlags"></param>
 /// <returns></returns>
 public virtual bool CanRemoveTile(Entity entity, Vector3I location, TileAccessFlags accessFlags)
 {
     return(true);
 }