Ejemplo n.º 1
0
    public float[] GetState()
    {
        List <float> state = new List <float>();

        state.Add(game_state_);
        state.Add(prize_);
        state.AddRange(ball_.GetState());
        state.AddRange(paddle_.GetState());
        state.AddRange(brick_manager_.GetState());
        return(state.ToArray());
    }