Package model
package model
-
ClassDescriptionA character in the game, which can store and update its location on the game graph and interact with the game model based on its location.A record class that represents ordered pairs of doublesThe underlying state representation of a PacMann game, including the game graph and actors.During its lifetime, the game transitions from READY -> PLAYING -> either VICTORY/DEFEATEach path tile contains a dot, contains a pellet, or is empty.Indicates that a collision between PacMann and a CHASING ghost was detected, meaning that the current round should end.The position and velocity of an actor on an associated _undirected_ edge.An unordered pair of values of type `T`.A ghost in the game.The three possible behavior states of ghostsA graph representing a game's maze, connecting the "path" tiles of a tile grid.The direction of a (directed) edge in this graph.An ordered pair of integers.Represents a directed edge from `src` to `dst` with weight `weight`, which points in direction `direction` on the tile grid.A vertex in our graph, corresponding to a path tile in the tile grid.The yellow protagonist of the game who seeks to eat the dots in the board maze while evading capture by the ghosts.