Skip to content
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.

Support "contexts" by inheriting the instance class #139

Open
ColonelThirtyTwo opened this issue Aug 31, 2013 · 0 comments
Open

Support "contexts" by inheriting the instance class #139

ColonelThirtyTwo opened this issue Aug 31, 2013 · 0 comments
Assignees

Comments

@ColonelThirtyTwo
Copy link
Member

The "Context" object is meant to provide settings to the instance, such as the ops limit, sandboxing environment, etc. (for example, the wire processor's context provides the default stuff, but the screen's context lowers the ops limit and gives access to the render library)

However, I think it would be more flexible if we instead create subclasses of instances, and providing overrideable methods and attributes (ex. instance.OpsLimit, instance.Environment, etc)

This would help with #116

daranable pushed a commit to daranable/Starfall-Original that referenced this issue Jan 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant