Upload files to "/"
This commit is contained in:
parent
c898dd8996
commit
9fe18da843
5 changed files with 84 additions and 26 deletions
|
|
@ -1,7 +1,9 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <SFML/Graphics.hpp>
|
||||
#include <vector>
|
||||
#include "platform.hpp"
|
||||
|
||||
|
||||
//float velocityY;
|
||||
//float gravity;
|
||||
|
|
@ -24,7 +26,7 @@ private:
|
|||
|
||||
public:
|
||||
Player(); // порожній конструктор
|
||||
void update(float deltaTime);
|
||||
void update(float deltaTime, const std::vector<Platform>& platforms);
|
||||
|
||||
void draw(sf::RenderWindow& window);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue