Guest User

Untitled

a guest
Jun 22nd, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. my $aura = JumpShadow::Aura->new(
  2. name => 'Gravity Well',
  3. penalty => 20
  4. );
  5.  
  6. my $nautilus = JumpShadow::Piece->new(
  7. name => 'Nautilus',
  8. energy => 100,
  9. movement_cost => 10,
  10. range => 2,
  11. location => $locations[0]
  12. );
  13.  
  14. my $cruiser = JumpShadow::Piece->new(
  15. name => 'Interdictor Cruiser',
  16. energy => 20,
  17. movement_cost => 10,
  18. range => 5,
  19. aura => $aura,
  20. location => $locations[1]
  21. );
  22.  
  23. $nautilus->move($cruiser->location);
Add Comment
Please, Sign In to add comment