Field class - Kingkiller96/Game_test GitHub Wiki

This class contains information for a single field.

  • int id -> unique field id

  • int pos_x/ pos_y -> positoin of the field

  • int terrain_id -> id to specify which type of terrain the field has

    1 -> plain,

    2 -> forest,

    3 -> tundra,

    4 -> dessert,

    5 -> mountain,

    6 -> ocean