Public Types | Public Member Functions | Private Attributes
CellAttribute Class Reference

細胞(セル)の属性情報. More...

#include <CellAttribute.h>

Inheritance diagram for CellAttribute:
Information

List of all members.

Public Types

enum  CELL_STATE { DEAD = 0, ALIVE, CELL_STATE_MAX }
 Cellの状態の定義. More...

Public Member Functions

 CellAttribute ()
 コンストラクタ.
 CellAttribute (CELL_STATE i_eState)
 コンストラクタ.
CELL_STATE getState () const
 状態を取得.
void setState (CELL_STATE i_eState)
 状態を設定.

Private Attributes

CELL_STATE m_eState
 状態.

Detailed Description

細胞(セル)の属性情報.

Note:
細胞(セル)が持っている属性.(has-aの関係).
受け渡す情報は以下.
・セルの状態.

Member Enumeration Documentation

Cellの状態の定義.

Note:
DEAD:死滅.
ALIVE:生存.
Enumerator:
DEAD 
ALIVE 
CELL_STATE_MAX 

Constructor & Destructor Documentation

CellAttribute::CellAttribute ( ) [inline]

コンストラクタ.

Parameters:
booli_eState Cellの状態.
See also:
Cellの状態はCELL_STATEを参照.
CellAttribute::CellAttribute ( CELL_STATE  i_eState) [inline]

コンストラクタ.

Parameters:
booli_eState Cellの状態.
See also:
Cellの状態はCELL_STATEを参照.

Member Function Documentation

CELL_STATE CellAttribute::getState ( ) const [inline]

状態を取得.

Parameters:
なし.
Returns:
状態.
See also:
状態はCELL_STATEを参照.
void CellAttribute::setState ( CELL_STATE  i_eState) [inline]

状態を設定.

Parameters:
状態.
Returns:
なし.
See also:
状態はCELL_STATEを参照.

Member Data Documentation

状態.

See also:
状態はCELL_STATEを参照.

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator Defines