How do I use/emulate namespaces, if any?
Good day everyone.
I'm curious if I can use/emulate namespaces in AngelScript. I like AS, and it is used for my project's gameplay. Since gameplay structure is OOP-based, having namespace would be very helpful.
Thank you.
Namespaces are not yet supported. They are on my to-do list, but currently not a high priority item.
Even without proper namespaces you can have separation by using different modules for different objects. Each module has it's own scope, and doesn't share the namespace with the other modules. Through config groups you can also expose different application functions to different modules.
Even without proper namespaces you can have separation by using different modules for different objects. Each module has it's own scope, and doesn't share the namespace with the other modules. Through config groups you can also expose different application functions to different modules.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Quote: Original post by WitchLord
Namespaces are not yet supported. They are on my to-do list, but currently not a high priority item.
Even without proper namespaces you can have separation by using different modules for different objects. Each module has it's own scope, and doesn't share the namespace with the other modules. Through config groups you can also expose different application functions to different modules.
Okay, thank you very much.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement