SGDE.Physics.PhysicsBaby.PhysicsBaby C# (CSharp) Method

PhysicsBaby() public method

Instantiate a new PhysicsBaby for a specific Entity.
public PhysicsBaby ( System.Entity owner ) : System
owner System.Entity The Entity that "owns" this PhysicsBaby.
return System
        public PhysicsBaby(Entity owner)
        {
            bStatic = false;
            mVelocity = new Vector2(0.0f, 0.0f);
            mForces = new Vector2(0.0f, 0.0f);

            mOwner = owner;
            mCollisionUnits = new List<CollisionUnit>();
        }