package com.cardshifter.api.outgoing;

import com.cardshifter.api.messages.Message;

public class EntityRemoveMessage extends Message {

	private int entity;

	public EntityRemoveMessage() {
		this(0);
	}

	public EntityRemoveMessage(int entity) {
		super("entityRemoved");
		this.entity = entity;
	}
	
	public int getEntity() {
		return entity;
	}

	@Override
	public String toString() {
		return "EntityRemoveMessage [entity=" + entity + "]";
	}
	
}

@@ -78,16 +78,76 @@
 ssage;%0A%0A
+/** Message from server that an entity has been removed. */%0A
 public c
@@ -211,16 +211,48 @@
 entity;%0A
+%09/** Constructor. (no params) */
 %0A%09public
@@ -290,16 +290,90 @@
 (0);%0A%09%7D%0A
+%09/**%0A%09 * Constructor.%0A%09 * @param entity  The Id of the removed entity%0A%09 */
 %0A%09public
@@ -461,16 +461,60 @@
 ty;%0A%09%7D%0A%09
+/** @return  The Id of the removed entity */
 %0A%09public
@@ -552,16 +552,68 @@
 ity;%0A%09%7D%0A
+%09/** @return  This message as converted to String */
 %0A%09@Overr

Update EntityRemoveMessage.java