class Container
Description
A Container
is a concrete Component
subclass, that acts
similar to the main Screen
itself. That is, you can add
Component
s into a container just like you would in your game.
Components placed inside containers are rendered with their attributes
relative to the Container's attributes. Container
supports
all the regular Component
properties (i.e. width
, height
, x
,
y
, opacity
, rotation
, and zIndex
). Changing the properties
on a Container affect the global properties of the Components placed inside.