Projet server.
This commit is contained in:
		
							
								
								
									
										23
									
								
								SQCSim-common/bullet.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								SQCSim-common/bullet.h
									
									
									
									
									
										Normal 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__ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user