Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach (object e in entities)
- {
- if (e is Ghost)
- {
- Console.WriteLine("hit");
- ghost.pos.Y = ghost.prevPos.Y;
- ghost.pos.X = ghost.prevPos.X;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement