Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Enemy(movementFunc: () => Coordinates, movementType: MovementType) {
- def move() {
- val targetPos = movementFunc()
- // etc
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement