public Turn(TurnId turnId, Board board, NativeEnumerable <Power> powers, NativeEnumerable <EnergySupplier> energySuppliers, uint randomSeed) { this.TurnId = turnId; this.Board = board; this.Powers = powers; this.EnergySuppliers = energySuppliers; RandomSeed = randomSeed; this.ordersForLaterTurn = default; this.ordersForLaterTurnCount = default; }
public Turn Create(NativeArray <GameMasterData> masterData, TurnId turnId, uint randomSeed, int energySupplierNeighborDistance) { ref var master = ref masterData.AsRefEnumerableUnsafe()[0];
public TurnIdEquality(TurnId turnId) { this.turnId = turnId.Value; }