Thread: OT - Kind of
View Single Post
  #4  
Old December 1st, 2001, 02:12 AM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: OT - Kind of

classes are at the base of object oriented design.
every object in the program is a member of a class. Classes are made of attributes and methods. For example a class Ship could have attributes :
size
movement points
and a method:
move

then every ship in the program must have a size and a number movement points.

Before you start designing maybe you should first read a bit about OO design, it's really usefull to break a program down to little understandable bits of information.
__________________
[Boo!]
Reply With Quote