Updated game/ for the ev API. There will likely be some changes happening in the game/folder, in the way new objects are inherited. This should use the API rather than inherit from the basecommand/baseobject modules (these will probably into the example folders as vanilla templates instead).

This commit is contained in:
Griatch 2012-03-25 13:09:17 +02:00
parent 3466e406f6
commit 88c0087fbd
13 changed files with 66 additions and 43 deletions

View file

@ -15,7 +15,7 @@ src.utils.create.create_script(scriptclass, ...) where scriptclass
is the python path to the specific class of script you want to use.
"""
from src.scripts.scripts import Script as BaseScript
from ev import Script as BaseScript
class Script(BaseScript):
"""

View file

@ -12,7 +12,7 @@ or you won't see any messages!
"""
import random
from game.gamesrc.scripts.basescript import Script
from ev import Script
class BodyFunctions(Script):
"""

View file

@ -6,7 +6,7 @@ red_button object type in gamesrc/types/examples. A few variations
on uses of scripts are included.
"""
from game.gamesrc.scripts.basescript import Script
from ev import Script
from game.gamesrc.commands.examples import cmdset_red_button as cmdsetexamples
#