-
Notifications
You must be signed in to change notification settings - Fork 0
Decouple shapes and objects #16
Copy link
Copy link
Open
Labels
Description
Overview
Currently the shapes and objects are mixed and are used to describe both 2D render data and game objects . This leads to having unnecessary properties, such as Menu:48-49. Achieve a better separation of types:
Shapes
Describe non-relative (i.e. no angle) 2D renderable data, such as coordinates, width, curvature and so on.
Objects
Actual game objects, containing id and update. Currently those objects are presented to CanvasService to be rendered. Consider adding shape property, containing the 2D render data and passing that instead.
Reactions are currently unavailable