Browse Subversion Repository
Contents of /trunk/CPartsInst.h
Parent Directory
| Revision Log
Revision 1 -
( show annotations)
( download)
( as text)
Sun Aug 15 01:53:13 2010 UTC
(13 years, 9 months ago)
by okadu
File MIME type: text/x-chdr
File size: 405 byte(s)
| 1 |
#ifndef CPARTSINST_H_INCLUDED |
| 2 |
#define CPARTSINST_H_INCLUDED |
| 3 |
|
| 4 |
/* |
| 5 |
* パーツインスタンス |
| 6 |
*/ |
| 7 |
class CPartsInst{ |
| 8 |
protected: |
| 9 |
CObject m_Object; // オブジェクト |
| 10 |
public: |
| 11 |
CObject *GetObject(){ return &m_Object; } |
| 12 |
VEC3 GetPos(){ return m_Object.GetPos(); } |
| 13 |
VEC3 GetCenter(){ return m_Object.GetCenter(); } |
| 14 |
void DrawBox(); |
| 15 |
}; |
| 16 |
|
| 17 |
// 反復子 |
| 18 |
typedef list<CPartsInst>::iterator IPartsInst; |
| 19 |
|
| 20 |
#endif |
|