예제 #1
0
        public HexCell(
            Vector3 gridRelativePosition, IHexGrid grid, HexCellSignals signals
            )
        {
            GridRelativePosition = gridRelativePosition;

            _absolutePosition = grid.GetAbsolutePositionFromRelative(gridRelativePosition);

            Grid    = grid;
            Signals = signals;
        }