CSC8503_Advanced_Game_Technologies / CSC8503 / CSC8503Common / FixedHeightConstraint.h
FixedHeightConstraint.h
Raw
#pragma once
#include "Constraint.h"

namespace NCL
{
	namespace CSC8503
	{
		class GameObject;

		class FixedHeightConstraint : public Constraint
		{
		public:
			FixedHeightConstraint(GameObject* object, const float heightValue);
			~FixedHeightConstraint() {}

			void UpdateConstraint(float dt) override;

		protected:
			GameObject* object;

			float height;
		};
	}
}