This file contains 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
#pragma once | |
class VisibleObject | |
{ | |
public: | |
VisibleObject(); | |
virtual ~VisibleObject(); | |
virtual void Load(std::string filename); | |
virtual void Draw(sf::RenderWindow & window); | |
virtual void Update(float elapsedTime); |
This file contains 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 "mainchar.h" | |
static bool lwalk = false; | |
static bool rwalk = false; | |
static bool rstand = false; | |
static bool lstand = false; | |
static bool rjump = false; | |
static bool ljump = false; | |
static bool rduck = false; | |
static bool lduck = false; |
This file contains 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 <iostream> | |
#include <SFML/Audio.hpp> | |
int main() | |
{ | |
std::cout << "What is up?!\n"; | |
////CREATION |
This file contains 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
//Libraries | |
#include <SFML/Graphics.hpp> | |
#include <iostream> | |
//Global variables, functions, classess | |
//main | |
int main() | |
{ | |
//CREATION |