# -*- test-case-name: mv3d.test.test_ -*- # Copyright (C) 2010-2012 Mortal Coil Games # See LICENSE for details. """ Everything in here will be imported into the console. @author: mike """ from mv3d.util.debugvis import DebugVisualizer def setHour(sim, hour=12, realmID= -1): """ Sets the time of day. """ sky = sim.realms[realmID].sky sky.setDate(2010, 10, 1, hour, 0, 0) def showDebug(conductor): from mv3d.tools.guidewx import WxParser debug = DebugVisualizer(WxParser(), conductor) debug.show() return debug