Package net.regsirius06.engine.point


package net.regsirius06.engine.point
This package contains classes representing geometric points and related entities used in various computational tasks, such as maze generation and pathfinding. The main classes are:
  • Point - represents a point in a 2D space with x and y coordinates.
  • ColoredPoint - extends Point and adds a color attribute to represent visual properties.
  • Wall - extends ColoredPoint and adds a state attribute, commonly used to represent walls in a maze.
These classes are particularly useful for applications dealing with grid-based environments, such as maze solvers or pathfinding algorithms, where each point may represent either a free space or an obstacle (wall).
  • Classes
    Class
    Description
    The ColoredPoint class extends the Point class by adding a Color attribute to represent the point's color.
    The Point class represents a point in a 2D Cartesian coordinate system with x and y coordinates.
    The Wall class extends the ColoredPoint class and adds a WallState attribute to represent the state of a wall (such as whether it's passable, blocked, or any other custom state).