Show
Ignore:
Timestamp:
02/23/2012 02:18:54 PM (2 years ago)
Author:
acarter
Message:

Added checking in the Match minigame.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Code/oMaE/oMaE/Overworld/Objects/Door.cs

    r59 r60  
    115115        public override void Update(GameState gameState) 
    116116        { 
    117             if (elephantNear && gameState.Down(Keys.Space)) 
     117            if (elephantNear && gameState.Pressed(Keys.Space)) 
     118            { 
     119                gameState.handle(Keys.Space); 
    118120                driver.Play2DGame(DoorLock, otherSide); 
     121            } 
    119122            if (DoorLock.Completed) 
    120123                door.Color = completed;