summaryrefslogblamecommitdiffstats
path: root/src/entities/Building.h
blob: 2c2dfb1f3244171db946d0cc7902548fa150b72a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11






                                



                                              


                                                   

                                           

                                                            

                                        
#pragma once

#include "Entity.h"

class CBuilding : public CEntity
{
public:
	CBuilding(void) {
		m_type = ENTITY_TYPE_BUILDING;
		bUsesCollision = true;
	}
	static void *operator new(size_t);
	static void operator delete(void*, size_t);

	void ReplaceWithNewModel(int32 id);

	virtual bool GetIsATreadable(void) { return false; }
};

bool IsBuildingPointerValid(CBuilding*);