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

com.patternity.graphic.behavioral.Event Maven / Gradle / Ivy

Go to download

Extensions of the RestFixture. An extension is a RestFixture with some specific/bespoke behaviour not generic enough to make it to the RestFixture itself.

The newest version!
package com.patternity.graphic.behavioral;

/**
 * Represents any dynamic event that can happen. It can be overall for every
 * agent (e-g. loop or general comment), or assigned to one particular agent
 * (e-g. Message).
 * 
 * @author cyrille martraire
 */
public class Event {

	private final int kind;

	private final Agent target;

	public Event(int kind, Agent target) {
		this.kind = kind;
		this.target = target;
	}

	public Agent getTarget() {
		return target;
	}

	public int getKind() {
		return kind;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy