branch | new_graphics |
changeset 413 | 7dddc163489a |
parent 412 | 721c60072091 |
child 414 | cede5463b845 |
412:721c60072091 | 413:7dddc163489a |
---|---|
47 void displayGameView (GameState &state, LocalPlayer *player) { |
47 void displayGameView (GameState &state, LocalPlayer *player) { |
48 // allocate a new GameView |
48 // allocate a new GameView |
49 GameView *view = new GameView(state, player); |
49 GameView *view = new GameView(state, player); |
50 |
50 |
51 // assign it to the display |
51 // assign it to the display |
52 display.setTarget(view); |
52 display.setView(view); |
53 } |
53 } |
54 |
54 |
55 }; |
55 }; |
56 |
56 |
57 /** |
57 /** |