Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override public function render():void
- {
- // draw everything else
- super.render();
- // draw minimapDisplay centered
- FP.buffer.copyPixels(
- minimapDisplay,
- minimapDisplay.rect,
- new Point(
- int((FP.width - minimapDisplay.width) * 0.5),
- int((FP.height - minimapDisplay.height) * 0.5));
- }
Add Comment
Please, Sign In to add comment