Projet server.

This commit is contained in:
MarcEricMartel
2023-09-18 15:56:17 -04:00
parent cf75843117
commit c3058070e5
25 changed files with 4600 additions and 37 deletions

23
SQCSim-common/bullet.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef BULLET_H__
#define BULLET_H__
#include "player.h"
class World;
class Bullet {
public:
Bullet(Player& player);
~Bullet();
bool Update(World* world, float elapsedtime);
void Transpose(int& x, int& z);
private:
Vector3f m_startpos;
Vector3f m_currentpos;
Vector3f m_velocity;
};
#endif // BULLET_H__