public LocalPlayer(World world, PlayerInformation playerInfo)
: base(world, playerInfo)
{
// set our update frequency
this.msgUpdateFrequency = new TimeSpan(0, 0, 0, 0, (int)(1000 / (UInt16)World.VarDB["updatesPerSecond"].Value));
// TODO support if these variables change
this.maxVelocity = (Single)World.VarDB["tankSpeed"].Value;
this.maxAngularVelocity = (Single)World.VarDB["tankAngVel"].Value;
inputService = (IInputService)World.IService.GetService(typeof(IInputService));
inputService.GetKeyboard().KeyPressed += KeyPressed;
}