-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathViewController.h
More file actions
41 lines (33 loc) · 936 Bytes
/
ViewController.h
File metadata and controls
41 lines (33 loc) · 936 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// ViewController.h
// FinalFourFearsomeFantasy
//
// Created by Kyle Koser on 4/8/14.
// Copyright (c) 2014 Kyle Koser. All rights reserved.
//
#ifndef __FinalFourFearsomeFantasy__ViewController__
#define __FinalFourFearsomeFantasy__ViewController__
#include <iostream>
#include <iostream>
#include <SDL2/SDL.h>
#include "SDL2_image/SDL_image.h"
#include "SDL2_ttf/SDL_ttf.h"
#include "SDL2_mixer/SDL_mixer.h"
#include <string>
#include <vector>
#include "LTexture.h"
#include "Settings.h"
class ViewController {
protected:
SDL_Renderer *renderer;
ViewController *base;
ViewController *top;
public:
ViewController(SDL_Renderer *ren);
virtual void dismiss();
virtual void becomeTop(ViewController *baseVC);
void pushViewController(ViewController *vc);
virtual void draw(SDL_Event e);
~ViewController();
};
#endif /* defined(__FinalFourFearsomeFantasy__ViewController__) */