This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <algorithm> | |
#include <curl/curl.h> | |
#include <curl/easy.h> | |
#include <curl/curlbuild.h> | |
#include <sys/stat.h> | |
#include <SFML/Graphics.hpp> | |
#include <Thor/Input.hpp> | |
using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <curl/curl.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/stat.h> | |
size_t write_data(void *ptr, size_t size, size_t nmemb, FILE *stream) { | |
size_t written = fwrite(ptr, size, nmemb, stream); | |
return written; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
World Created. | |
This is some info | |
This is some MORE info |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "inc.hh" | |
#ifndef BASE_H | |
#define BASE_H | |
class BaseState | |
{ | |
private: | |
public: | |
BaseState(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Player.h" | |
#include <iostream> | |
Player::Player(int x, int y, std::string name) | |
{ | |
this->setX(x); | |
this->setY(y); | |
this->setName(name); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "SFML/Graphics.hpp" | |
#include "engine.h" | |
#include "stdio.h" | |
using namespace sf; | |
Engine::Engine (string title) { | |
//Fuck you c++ | |
} | |
Engine::Engine (void) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "SFML/Graphics.hpp" | |
#include "stdio.h" | |
using namespace sf; | |
void Engine::init() { | |
window.create(sf::VideoMode(640,480), "SFML Test", Style::Close); | |
window.setFramerateLimit(60); | |
tex.loadFromFile("assets/logo.png"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.loom.sa.objects; | |
public class Config { | |
public static final int SIZE = 16; | |
public static final int START_X = 3; | |
public static final int START_Y = 3; | |
} |