Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void GameTimer(object source, ElapsedEventArgs e)
- {
- BotVehicle.Update(0.1);
- ushort newX = (ushort)BotVehicle.Pos.X;
- ushort newY = (ushort)BotVehicle.Pos.Y;
- botpos.ShipRotation = adjust(botpos,newX, newY);
- botpos.MapPositionX = newX;
- botpos.MapPositionY = newY;
- Game(botpos);
- }
Advertisement
Add Comment
Please, Sign In to add comment