Skip to content

Decouple shapes and objects #16

@achobanov

Description

@achobanov

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions