Poodletooth-iLand/otp/movement/CMover.py

9 lines
228 B
Python
Raw Normal View History

2015-03-03 16:10:12 -06:00
from pandac.PandaModules import *
class CMover:
2015-03-03 16:10:12 -06:00
def __init__(self, objNodePath, fwdSpeed=1, rotSpeed=1):
self.objNodePath = objNodePath
self.fwdSpeed = fwdSpeed
self.rotSpeed = rotSpeed