Browse Source

Change gbe.resource.Manager to gbe.resource.ResourceManager

master
Bryan Miller 6 years ago
parent
commit
6bafbe0209
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      game/__init__.py
  2. +1
    -1
      game/gbe/resource.py

+ 1
- 1
game/__init__.py View File

t = gbe.time.Time() t = gbe.time.Time()
t.reset() t.reset()


resources = gbe.resource.Manager()
resources = gbe.resource.ResourceManager()


gbe.events.Events.listen("QUIT", _OnQuit) gbe.events.Events.listen("QUIT", _OnQuit)
gbe.events.Events.listen("KEYDOWN", _OnKeyEvent) gbe.events.Events.listen("KEYDOWN", _OnKeyEvent)

+ 1
- 1
game/gbe/resource.py View File

_RESOURCES[key]["path"] = fullpath _RESOURCES[key]["path"] = fullpath
_RESOURCES[key]["r"] = [] # Completely drop old list. _RESOURCES[key]["r"] = [] # Completely drop old list.


class Manager:
class ResourceManager:
def __init__(self): def __init__(self):
pass pass



Loading…
Cancel
Save