Thread: C++ classes
View Single Post
Old 12-07-2006, 04:15 PM   #6 (permalink)
Chaosenemy
 
Newb Techie

Join Date: Jan 2006

Posts: 20

Chaosenemy

Send a message via Yahoo to Chaosenemy
Default

*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 is offline