bf93aecad1
update collision handling and add new inventory initialization; add torch lighting in fog shader;
19 lines
189 B
Ruby
19 lines
189 B
Ruby
class Scene
|
|
# Base class for all scenes.
|
|
|
|
def initialize
|
|
end
|
|
|
|
def update
|
|
end
|
|
|
|
def draw
|
|
end
|
|
|
|
def button_down(id, pos)
|
|
end
|
|
|
|
def close
|
|
$bus.remove_owner(self)
|
|
end
|
|
end |