Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (tempEnemy.x < 0)
- {
- tempEnemy.rotation = -45;
- }
- if (tempEnemy.x > stage.stageWidth)
- {
- tempEnemy.rotation = 45;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement