draw abstract method

void draw(
  1. int x,
  2. int y,
  3. Cell cell
)

Draws a cell at the given x and y position.

This method is provided as a convenience for drawing a single cell, and as a default implementation for the drawBatch method, but should not be used for drawing multiple cells, as it may be less efficient.

Implementation

void draw(int x, int y, Cell cell);