public boolean isValidEntity( Entity entity, Game game ) {
public boolean isValidEntity( Entity entity, IGame game ) {
        public boolean isValidEntity( Entity entity, Game game ) {            boolean retVal = false;            // Null entities don't need to be checked.            if ( null != entity ) {                // Any entity in the array is valid.                // N.B. Stop looking after we've found the match.                final int entityId = entity.getId();                for ( int index = 0;                      index < this.entityIds.length && !retVal;                      index++ ) {                    if ( entityId == this.entityIds[index] ) {                        retVal = true;                    }                }            } // End entity-isn't-null            return retVal;        }