private void DrawFlame(Context context, FieldCell cell) { int x = cell.GetCx() * cellWidth; int y = cell.GetCy() * cellHeight; context.FillRect(x, y, cellWidth, cellHeight, Color.Red); }
public void AddCell(FieldCell cell) { cells.Add(cell.GetCx(), cell.GetCy(), cell); if (cell.IsMovable()) { AddMovable(cell.AsMovable()); } }
private void DrawCellRect(Context context, FieldCell cell, Color color) { DrawCellRect(context, cell.GetCx(), cell.GetCy(), color); }