This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useEffect, useCallback } from "react"; | |
import * as PIXI from "pixi.js"; | |
import { Stage } from "@inlet/react-pixi"; | |
import Spine from "./Spine"; | |
window.PIXI = PIXI; | |
const mixes = [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this function recieves balance which is not really in this unit scope. | |
// so we dont need to care what balance.getBalance() does. | |
static double getBalanceWithDecimalPoint(Balance balance, int dp) throws NegativeBalanceException { | |
if (balance.getBalance() < 0) { | |
throw new NegativeBalanceException(); | |
} | |
System.out.println("Converting to " + dp + "decimal point"); | |
return balance.getBalance(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package com.mycompany.mavenproject1; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.SQLException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
[System.Serializable] | |
public class SceneObject | |
{ | |
[SerializeField] | |
private string m_SceneName; |