2013-09-07 19:14:57 -04:00
|
|
|
|
|
|
|
// Boat.h
|
|
|
|
|
2013-09-08 11:56:16 -04:00
|
|
|
// Declares the cBoat class representing a boat in the world
|
2013-09-07 19:14:57 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Entity.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cBoat :
|
|
|
|
public cEntity
|
|
|
|
{
|
|
|
|
typedef cEntity super;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CLASS_PROTODEF(cBoat);
|
|
|
|
|
|
|
|
// cEntity overrides:
|
|
|
|
virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
|
|
|
|
virtual void OnRightClicked(cPlayer & a_Player) override;
|
|
|
|
virtual void DoTakeDamage(TakeDamageInfo & TDI) override;
|
|
|
|
virtual void HandlePhysics(float a_Dt, cChunk & a_Chunk) override;
|
|
|
|
|
|
|
|
cBoat(double a_X, double a_Y, double a_Z);
|
2013-09-09 05:13:14 -04:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|