

Definition at line 10 of file OnStrongPad.h.
Public Member Functions | |
| OnStrongPad (Cube::eWeight weight) | |
| virtual bool | isSatisfy (Cube *model) const |
| virtual bool | isWrong (Cube *model) const |
|
|
Definition at line 14 of file OnStrongPad.h. 00014 { m_weight = weight; }
|
|
|
Implements OnCondition. Definition at line 16 of file OnStrongPad.h. 00017 {
00018 return model->isWall()
00019 || (model->isAlive() && model->getPower() >= m_weight);
00020 }
|
|
|
Implements OnCondition. Definition at line 22 of file OnStrongPad.h.
|
1.4.2