public bool SetCellObject(int row, int column, PlanetObjectBase obj) { bool result = m_Cells.SetCellObject(row, column, obj); SendCellsUpdated(); return(result); }
public bool SetCellObject(int row, int column, PlanetObjectBase obj) { if (m_World != null) { if (row < m_World.Zone.celss.rows && column < m_World.Zone.celss.columns) { if (false == HasCellObject(row, column)) { m_Cells[row, column].SetObject(obj); return(true); } } } return(false); }
public void SetObject(PlanetObjectBase obj) { m_CellObject = obj; }