OOP in Blitz3d-Nice Lingo

Blitz3D Forums/Blitz3D Programming/OOP in Blitz3d-Nice Lingo

BLaBZ(Posted 2007) [#1]
What are some of the advantages of OOP in Blitz3d. How would you use OOP?

Does it shorten code and make some complex processes simplified?


syntax(Posted 2007) [#2]
blitz is not a OOP language. the closest thing you have to a class is a Type. i usually have one type per file and organize it as though it where a class and load up each file as an include, then each instance is refered to by a blitz array. if you need to use blitz3d with classes there is the Blitz3d SDK but i havent checked the forums in a while to know how anyone likes it.


Techlord(Posted 2007) [#3]
funnyben123, I'm not sure what type of OOP features you're trying to mimic in B3D . I have provided a link to AOBPwB3D in your previous post. The techniques discussed herein can help shorten code and make some complex processes simplified.


BLaBZ(Posted 2007) [#4]
Thanks! that's exactly what I wanted to know. I followed your link from a previous post and noticed the title was "object based." A lot of the code looked similar to other OOP languages.