Thread
:
C++ classes
View Single Post
12-07-2006, 04:15 PM
#
6
(
permalink
)
Chaosenemy
Newb Techie
Join Date: Jan 2006
Posts: 20
*Is still confused*
Lets take that spaceship example. Instead of using classes couldn't you just declare variables like int sp_armor and int sp_speed, then make a function that could be used when any ship accelerates? It would be the same thing...
Chaosenemy
View Public Profile
Visit Chaosenemy's homepage!
Find More Posts by Chaosenemy