words
This commit is contained in:
		
							
								
								
									
										7
									
								
								src/Game.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								src/Game.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
#include "Game.hpp"
 | 
			
		||||
#include "SDL.h"
 | 
			
		||||
 | 
			
		||||
void Game::Run() {
 | 
			
		||||
    SDL_
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										10
									
								
								src/Game.hpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/Game.hpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Game {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
public:
 | 
			
		||||
    static void Run();
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								src/State.hpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								src/State.hpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
enum class State {
 | 
			
		||||
    START, PLAY, GAME_OVER, WIN
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										443059
									
								
								src/words.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										443059
									
								
								src/words.cpp
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										3
									
								
								src/words.hpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								src/words.hpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
const char* words[];
 | 
			
		||||
		Reference in New Issue
	
	Block a user