Advertisement
saluxx

move enemy

Sep 30th, 2015
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. else if (tangent.Key == ConsoleKey.UpArrow)
  2. {
  3. y1--;
  4. }
  5. else if (tangent.Key == ConsoleKey.DownArrow)
  6. {
  7. y1++;
  8. }
  9. else if (tangent.Key == ConsoleKey.LeftArrow)
  10. {
  11. x1--;
  12. }
  13. else if (tangent.Key == ConsoleKey.RightArrow)
  14. {
  15. x1++;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement