#pragma once

#ifndef __sampleboxgame_h__
	#define __sampleboxgame_h__

#include <samplegame.h>

class SampleActorsGame : public SampleGame
{
public:
	SampleActorsGame();

	virtual void initialize();
	virtual void release();
	virtual void input(GxF32 elapsedTime);
	virtual void update(GxF32 elapsedTime);
	virtual void render(GxF32 elapsedTime);

	virtual void printHelp();

protected:
	Material planeMaterial;

	PxRigidDynamic* kineticActor;
	GxF32 kineticVelocity;
	GxF32 kineticAngle;

	void rzucPudelkiem(
		const PxVec3& position, GxF32 halfExtends, const PxVec3& initialVelocity,
		const PxMaterial* physicsMaterial, Gx::Material* graphicsMaterial = NULL, PxReal density = 4);
};

#endif /* __sampleboxgame_h__ */