Ships

From Unknown Horizons - Wiki
Jump to: navigation, search
Note.png

This page is part of the Unknown Horizons Design Document. Please discuss everything concerning this topic on the "discussion" tab of this page. If you're not sure whether your ideas are fitting the Unknown Horizons style, either use the related discussion page or ask us. Please don't directly edit the article!


This class has the two children classes:

  • pirates
  • traders

The AI class ships

This class should have all methods that are used in general for AI supported ships, like driveAroundRadomly. This class should represent all basic features of a ship, which are used for every ship.

Methods that this class should have:

  • create_ship
  • load
  • save
  • load_ship_states
  • get_ship_count
  • send_ship_random

...

Personal tools