Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Layer support #4

Description

@rdrpenguin04

Goal: To implement a "Layer" construct that organizes Things into a group that renders with the same depth.

Constraints:

  • Constructing a Layer should return something usable as a Thing.
  • Layer should have a function to add/remove Things.
  • Layer should have a function to either:
    • Translate the layer rendering
    • Translate the Things on the layer (only in effect; any x/y attributes of the Thing in question should remain constant)
  • A Layer should render as if all of its Things were rendered, in depth sorted order, followed by being compressed into one graphic, then rendered to the screen at the Layer's depth.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions