Moved brick drawing logic to its own method