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
{ | |
"nodes": [ | |
{ | |
"nodes": [ | |
{ | |
"input": [ | |
{ | |
"type": "IdentifierType", | |
"value": "lastKiller" | |
}, |
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
{"categories":[{"children":[{"outputs":[],"inputs":[{"position":"Vector"}],"name":"Play 3D Audio for all Players","description":"Play a 3D audio clip audible to all players within range of the Position.","type":"Play3DAudioForAllPlayers","category":"AUDIO","flow":{"in":true,"out":true}},{"outputs":[],"inputs":[{"position":"Vector"}],"name":"Play 3D Audio for All Teams","description":"Plays a 3D audio clip audible to all players NOT on the Team within range of the Position.","type":"Play3DAudioForAllTeams","category":"AUDIO","flow":{"in":true,"out":true}},{"outputs":[],"inputs":[{"team":"Team"},{"position":"Vector"}],"name":"Play 3D Audio for Team","description":"Plays a 3D audio clip audible to all players on the Team within range of the Position","type":"Play3DAudioForTeam","category":"AUDIO","flow":{"in":true,"out":true}},{"outputs":[],"inputs":[{"areaMonitor":"AreaMonitor"},{"audioZoneEffect":"AudioZoneEffect"}],"name":"Register Audio Zone","description":"Registers an Area Monitor as an Audio Zone. AUdio Z |
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
{ | |
"categories": [ | |
{ | |
"children": [ | |
{ | |
"outputs": [], | |
"produces_execution_flow": true, | |
"has_execution_flow": true, | |
"receives_execution_flow": true, | |
"inputs": [ |
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
{ | |
"EVENTS": [ | |
{ | |
"outputs": [ | |
{ | |
"round": "Number" | |
} | |
], | |
"produces_execution_flow": true, | |
"has_execution_flow": true, |
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
package net.andrewcpu.script.tokenizer.grammar; | |
import net.andrewcpu.script.tokenizer.Token; | |
import net.andrewcpu.script.tokenizer.TokenType; | |
import net.andrewcpu.script.tokenizer.grammar.structures.*; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.stream.Collectors; |
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
package net.andrewcpu.worldstar; | |
import org.apache.commons.io.FileUtils; | |
import org.bukkit.*; | |
import org.bukkit.entity.Player; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.Listener; | |
import org.bukkit.event.entity.EntityDamageEvent; | |
import org.bukkit.event.entity.PlayerDeathEvent; | |
import org.bukkit.plugin.java.JavaPlugin; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_9" default="true" project-jdk-name="9" project-jdk-type="JavaSDK"> | |
<output url="file://$PROJECT_DIR$/out" /> | |
</component> | |
</project> |
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
package net.Andrewcpu.morph; | |
import net.Andrewcpu.morph.graphics.GPanel; | |
import net.Andrewcpu.morph.logic.elements.*; | |
import net.Andrewcpu.morph.logic.World; | |
import net.Andrewcpu.morph.logic.input.Controller; | |
import net.Andrewcpu.morph.utils.Location; | |
import javax.swing.*; | |
import java.util.concurrent.Executors; |
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 javax.swing.*; | |
import java.awt.*; | |
import java.awt.image.BufferedImage; | |
public class ImageDisplay extends JFrame { | |
private BufferedImage image; | |
public ImageDisplay(BufferedImage image){ | |
this.image = image; | |
setTitle("Image Display"); | |
setBounds(0,0,image.getWidth(),image.getHeight()); |
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 javax.imageio.ImageIO; | |
import java.awt.*; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
public class Main { | |
public static void main(String[] args) throws Exception{ | |
BufferedImage img = createImageWithID(255*3*3); | |
System.out.println(getImageID(img)); |
NewerOlder