Raylib Bubbles
C++11 Raylib bubble shooter game.
|
BubbleCell::neighbors
variable is only used in the canAttach()
method to quickly attach (check) bubbles, but I'm unsure if using neighbor logic is the best way to solve this problem, as persistent neighbor updating might perform worse than checking on the fly when attaching (check) is needed. Consider that on each call to canAttach()
. the applyNbrs()
method is called to update the neighbor states. This might result in worse performance.