instance method Component#render
Component#render(renderCount) → undefined
-
renderCount
(Number
) – The total number of times thatGame#render
has been called for this game. This value has nothing to do with the number of times thisComponent
has been rendered.
Renders the individual Component
. This is called automatically in
the game loop once this component has been added through Game#addComponent
.
Subclasses of Component
override this method, and render how it
should be rendered. This default implementation does nothing, since
a Component
itself cannot be rendered/instantiated.