Manual control over when to redraw the screen

前端 未结 2 1207
隐瞒了意图╮
隐瞒了意图╮ 2020-12-17 03:48

I\'m trying to make a turn-based roguelike engine thing for XNA. I\'m basically porting the game over from a previous work I did using an SDL-based roguelike library called

2条回答
  •  -上瘾入骨i
    2020-12-17 04:34

    You don't need to inherit from Game class, it is entirely optional. You can write your own class which redraws the screen only when you want. There's some useful code in the class though, so you can use Reflector to copy code from there and then change its logic.

提交回复
热议问题