Poodletooth-iLand/otp/movement/CMover.py

9 lines
228 B
Python
Raw Normal View History

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