Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.18 KB | None | 0 0
  1. @Callback(doc = "function():number -- Get the HP of the robot.")
  2.   def hp(context: Context, args: Arguments): Array[AnyRef] = {
  3.     result(agent.info.hp, "no tool equipped")
  4.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement