- Timestamp:
- May 24, 2011, 10:12:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/modules/tetris/TetrisStone.cc
r8564 r8566 82 82 const Vector3& position = this->getPosition(); 83 83 Vector3 newPos = Vector3(position.x+value.x/abs(value.x)*this->size_, position.y, position.z); 84 if(!this->tetris_->isValidMove(this, newPos) .first)84 if(!this->tetris_->isValidMove(this, newPos)) 85 85 return; 86 86 87 //this->previousPosition_ = position;88 87 this->setPosition(newPos); 89 88 this->delay_ = true;
Note: See TracChangeset
for help on using the changeset viewer.