Thread
:
1 class, 1 problem = 1 big headache
View Single Post
May 24th, 2006, 12:49 AM
#
8
titaniumdecoy
Expert Programmer
Join Date: Nov 2005
Posts: 904
Rep Power:
3
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
View Public Profile
Visit titaniumdecoy's homepage!
Find More Posts by titaniumdecoy