Skip to content
Ben Smithers edited this page Mar 20, 2020 · 1 revision

Home > Objects > Mobile

Overview

Defines mobile entity that can be placed on a Hex. These are mainly flavor, although derived classes implement more features.

Inherits from: Entity

Class Attributes

  • speed: float in miles per minute. Defines how fast this Mobile moves across the Hexmap.

Class Methods

  • set_location: Takes a HexID, changes this Mobile's location.

Clone this wiki locally