Skip to content

Commit adbe901

Browse files
committed
Accidently committed test code.
1 parent bc51b8b commit adbe901

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

j2me/games/GameJ2MELibraryM/src/main/java/org/allbinary/game/displayable/canvas/AllBinaryGameCanvas.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -717,19 +717,19 @@ private void init(AllBinaryGameLayerManager gameLayerManager,
717717

718718
final Features features = Features.getInstance();
719719

720-
// if (features.isFeature(GameFeatureFactory.getInstance().CHEATING))
721-
// {
722-
// this.isCheating = true;
720+
if (features.isFeature(GameFeatureFactory.getInstance().CHEATING))
721+
{
722+
this.isCheating = true;
723723
this.cheatProcessor = new CheatGameInputProcessor(this);
724724

725725
this.gameKeyEventHandler.addListener(this.cheatProcessor);
726-
//
727-
// }
728-
// else
729-
// {
730-
// this.isCheating = false;
731-
// this.cheatProcessor = NoPlayerGameInput.getInstance();
732-
// }
726+
727+
}
728+
else
729+
{
730+
this.isCheating = false;
731+
this.cheatProcessor = NoPlayerGameInput.getInstance();
732+
}
733733

734734
this.realEndGameProcessor = new EndGameProcessor(this);
735735
this.setEndGameProcessor(Processor.getInstance());

0 commit comments

Comments
 (0)