Physics4K  2013-06-04
Physics4K is the next great evolution in 2D physics engines. built upon the C++ Game Framework, it is going to take the next generation gaming world by storm.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Circle.h
Go to the documentation of this file.
1 // Filename: Circle.h
4 
5 //Preprocessor directive designed to cause the current source file to be included only once in a single compilation
6 #pragma once
7 
8 //Includes
9 #include "PKInclude.h"
10 #include "Shape.h"
11 
12 namespace PK
13 {
14  class PK_API Circle : public Shape
15  {
16  public:
17  Circle(float xPos, float yPos, float radius, float rotation, float mass);
18  Circle(float xPos, float yPos, float radius, float rotation, float mass, float friction);
19  ~Circle();
20 
21  void Initialize(float xPos, float yPos, float radius, float rotation, float mass, float friction = 0.2f);
22 
23  float GetRadius();
24 
25  public:
26  float Radius;
27  };
28 }