Skip to content

Instantly share code, notes, and snippets.

View Kohbo's Lancer Tools.61d43e.ttslua
local turnList = {}
function onLoad(save_state)
print("Kohbo's Lancer Tools Added")
startLuaCoroutine(self, "addUIElements")
end
--This toggles showing or hiding the roll buttons
function toggleRollerButtons()
@kohbo
kohbo / Reporter.cs
Last active Aug 29, 2015
PK Reporter
View Reporter.cs
/*
* Reporting application to parse PK notices
* Written By: Juan Menendez
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
@kohbo
kohbo / Hydrogen.java
Last active Aug 29, 2015
Multi-Threading
View Hydrogen.java
public class Hydrogen implements Runnable{
ReactionArea buff;
public Hydrogen(ReactionArea buff){
this.buff = buff;
}
public void run(){
for(int i = 0; i < 20; i++){
try{
@kohbo
kohbo / Army.java
Last active Aug 29, 2015
Regiments
View Army.java
import java.util.ArrayList;
import java.util.Iterator;
public class Army {
ArrayList<Regiment> army;
Army(){
army = new ArrayList<Regiment>(20);
}