All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.daxie.joglf.gl.input.CountsAndFlags Maven / Gradle / Ivy

There is a newer version: 11.7.0
Show newest version
package com.daxie.joglf.gl.input;

/**
 * Counts and flags used for handling user input.
 * @author Daba
 *
 */
public class CountsAndFlags {
	private int element_num;
	
	private int[] pressing_counts;
	private int[] releasing_counts;
	private boolean[] pressing_flags;
	
	public CountsAndFlags(int element_num) {
		this.element_num=element_num;
		
		pressing_counts=new int[element_num];
		releasing_counts=new int[element_num];
		pressing_flags=new boolean[element_num];
		
		for(int i=0;i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy