contract WarshipAccess is Pausable{
	address[] public OfficialApps;
	//Official games & services

	function AddOfficialApps(address _app) onlyOwner public{
		require(_app != address(0));
		OfficialApps.push(_app);
	}
	
	function nukeApps()onlyOwner public{
	    for(uint i = 0; i < OfficialApps.length; i++){
			delete OfficialApps[i];
	        
	    }
	}

	function _isOfficialApps(address _app) internal view returns (bool){
		for(uint i = 0; i < OfficialApps.length; i++){
			if( _app == OfficialApps[i] ){
				return true;
			}
		}
		return false;
	}

	modifier OnlyOfficialApps {
        require(_isOfficialApps(msg.sender));
        _;
    }



}
function AddOfficialApps(address _app) onlyOwner public{
		require(_app != address(0));
		OfficialApps.push(_app);
	}
//Official games & services