View Single Post
Old May 24th, 2006, 12:49 AM   #8
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 904
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
As far how to access the smBox[][] array in the Tetris class from the Piece class, I would suggest passing the array as an argument to the Piece constructor.

Alternatively, you could make smBox[][] static.
titaniumdecoy is offline   Reply With Quote