Skip to content

File GridPosition.hpp

FileList > core > GridPosition.hpp

Go to the source code of this file

  • #include <cassert>
  • #include <cmath>
  • #include <compare>
  • #include <cstddef>
  • #include <sstream>
  • #include <string>
  • #include "CoreObject.hpp"

Namespaces

Type Name
namespace cse491
A base class interface for all agent types.

Classes

Type Name
class GridPosition
Represents a position within a 2D grid of cells. This class provides utilities to manage a position in 2D space. The position is stored as floating-point values (to allow for smooth motion through a grid), but is easily converted to size_t for grid-cell identification.

The documentation for this class was generated from the following file source/core/GridPosition.hpp