mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-01 02:15:54 -04:00
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
// ======================================================================
|
|
//
|
|
// Region3dMaster.h
|
|
//
|
|
// Copyright 2003 Sony Online Entertainment
|
|
//
|
|
// ======================================================================
|
|
|
|
#ifndef INCLUDED_Region3dMaster_H
|
|
#define INCLUDED_Region3dMaster_H
|
|
|
|
// ======================================================================
|
|
|
|
class Region3d;
|
|
class Vector;
|
|
|
|
// ======================================================================
|
|
|
|
class Region3dMaster
|
|
{
|
|
public:
|
|
static void install();
|
|
static void reloadRegionTable();
|
|
static Region3d const *getRegionByName(std::string const ®ionName);
|
|
static void getRegionsAtPoint(Vector const &point, std::vector<Region3d const *> ®ions);
|
|
static Region3d const *getSmallestRegionAtPoint(Vector const &point);
|
|
|
|
private:
|
|
static void addRegion(Region3d ®ion);
|
|
static void removeRegion(Region3d ®ion);
|
|
|
|
private:
|
|
Region3dMaster();
|
|
Region3dMaster(Region3dMaster const &);
|
|
Region3dMaster &operator=(Region3dMaster const &);
|
|
|
|
friend class Region3d;
|
|
};
|
|
|
|
// ======================================================================
|
|
|
|
#endif // INCLUDED_Region3dMaster_H
|
|
|