Sha256: 79d4f9a8befa5dd8899fab42662c7802b5f6680d87031e662c5fbcd8bfe46cc0

Contents?: true

Size: 607 Bytes

Versions: 2

Compression:

Stored size: 607 Bytes

Contents

package com.game_machine.core;
import GameMachine.Messages.ClientManagerRegister;
import GameMachine.Messages.Entity;
import GameMachine.Messages.Player;
import akka.actor.ActorSelection;

public class Commands {

	public static void clientManagerRegister(String name) {
		ClientManagerRegister register = new ClientManagerRegister();
		register.setRegisterType("actor").setName(name);
		register.setEvents("");
		Entity entity = new Entity();
		entity.setClientManagerRegister(register);
		ActorSelection sel = ActorUtil.getSelectionByName("GameMachine::ClientManager");
		sel.tell(entity, null);
	}
	
	
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
game_machine-1.0.4 java/project/src/main/java/com/game_machine/core/Commands.java
game_machine-1.0.2 java/project/src/main/java/com/game_machine/core/Commands.java