Advertisement
Guest User

Untitled

a guest
Dec 13th, 2012
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. if (tempEnemy.x < 0)
  2. {
  3. tempEnemy.rotation = -45;
  4. }
  5. if (tempEnemy.x > stage.stageWidth)
  6. {
  7. tempEnemy.rotation = 45;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement