class TungstenEngine::Core::GameComponent
Represents a modular component of the game, being updated and rendered automatically after being registered to the game
Public Instance Methods
render(_game_time)
click to toggle source
# File lib/core/game_component.rb, line 11 def render(_game_time) raise('This method needs to be overwritten in a subclass') end
update(_game_time)
click to toggle source
# File lib/core/game_component.rb, line 7 def update(_game_time) raise('This method needs to be overwritten in a subclass') end