protected GhostMover( Ghost ghost, GhostMovementMode movementMode, IMaze maze, Func <ValueTask <CellIndex> > getTargetCellPoint) { _getTargetCellPoint = getTargetCellPoint; Ghost = ghost; MovementMode = movementMode; _intersectionLogic = new GhostLogic(maze, ghost); }
public ModeAndDuration(GhostMovementMode mode, TimeSpan duration) { Mode = mode; Duration = duration; }
public GhostMovementModeChangedEvent(IGhost ghost, GhostMovementMode mode) { Ghost = ghost; Mode = mode; }