Revision 2fca02cf
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/main/ObjectControl.java | ||
---|---|---|
28 | 28 |
import org.distorted.library.type.Static2D; |
29 | 29 |
import org.distorted.library.type.Static4D; |
30 | 30 |
|
31 |
import org.distorted.objectlib.helpers.BlockController; |
|
31 | 32 |
import org.distorted.objectlib.helpers.MovesFinished; |
32 | 33 |
import org.distorted.objectlib.helpers.ObjectLibInterface; |
33 | 34 |
|
... | ... | |
541 | 542 |
|
542 | 543 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
543 | 544 |
|
544 |
public void initialize() |
|
545 |
public void onPause() |
|
546 |
{ |
|
547 |
BlockController.onPause(); |
|
548 |
} |
|
549 |
|
|
550 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
551 |
|
|
552 |
public void onResume() |
|
545 | 553 |
{ |
546 | 554 |
mPointer1 = INVALID_POINTER_ID; |
547 | 555 |
mPointer2 = INVALID_POINTER_ID; |
548 | 556 |
|
549 | 557 |
unlock(); |
558 |
|
|
559 |
BlockController.onResume(); |
|
550 | 560 |
} |
551 | 561 |
|
552 | 562 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Further simplifications.