actions.py 367 B

123456789101112131415161718192021
  1. # Enumeration of possible actions
  2. from __future__ import annotations
  3. from enum import IntEnum
  4. class Actions(IntEnum):
  5. # Turn left, turn right, move forward
  6. left = 0
  7. right = 1
  8. forward = 2
  9. # Pick up an object
  10. pickup = 3
  11. # Drop an object
  12. drop = 4
  13. # Toggle/activate an object
  14. toggle = 5
  15. # Done completing task
  16. done = 6