|
|
|
@ -13,7 +13,7 @@ chaos ensues until 1000 survivors - the game stops
|
|
|
|
|
import {ERC721} from "solmate/tokens/ERC721.sol";
|
|
|
|
|
import {Owned} from "solmate/auth/Owned.sol";
|
|
|
|
|
import {LibString} from "solmate/utils/LibString.sol";
|
|
|
|
|
import {UnaboomerCommon} from "./UnaboomerCommon.sol";
|
|
|
|
|
import {Main} from "./Main.sol";
|
|
|
|
|
|
|
|
|
|
contract Unaboomer is ERC721, Owned {
|
|
|
|
|
using LibString for uint256;
|
|
|
|
@ -26,7 +26,7 @@ contract Unaboomer is ERC721, Owned {
|
|
|
|
|
uint256 public minted;
|
|
|
|
|
string public aliveURI;
|
|
|
|
|
string public deadURI;
|
|
|
|
|
UnaboomerCommon public main;
|
|
|
|
|
Main public main;
|
|
|
|
|
|
|
|
|
|
constructor() ERC721("Unaboomer", "BOOMR") Owned(msg.sender) {}
|
|
|
|
|
|
|
|
|
@ -52,7 +52,7 @@ contract Unaboomer is ERC721, Owned {
|
|
|
|
|
|
|
|
|
|
/// Set main contract address for executing functions
|
|
|
|
|
function setMainContract(address _address) external onlyOwner {
|
|
|
|
|
main = UnaboomerCommon(_address);
|
|
|
|
|
main = Main(_address);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// =========================================================================
|
|
|
|
|