View Single Post
Old 15-04-2005, 11:37 AM   #5
Marek
Abandonia nerd

 
Join Date: Mar 2005
Location: ,
Posts: 72
Default

Quote:
You could also do this with an interface
Yes and what make abstract classes even better is that it can perform the role of both an interface and a normal base class in one, in that common functions can actually be performed in the abstract class itself, like:

Code:
public void ChangeDirection(DirectionTypeEnum oDir)
{
 * //Implementation here
}
or something like that...

Abstract classes are cool...
Marek is offline                         Send a private message to Marek
Reply With Quote