Skip to content

Accessor generation #7

@Permafacture

Description

@Permafacture

for an OOP interface when you want it (ie, the hero of the game should have components and be subect to systems, but also it should be convinient to check their health and update their velocity individually)

def generate_accessor(guid):
'''returns an Accessorinstance that has properties that are actually
pointers to the slices of components related to this guid'''

checkout accessors.py back in commit b6e4678

That was working but much has changed since then. Basic idea is the same

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions