/** * Sets the data * * @param buffer Bytebuffer holding the data */ public void set(ByteBuffer buffer) { health = buffer.getInt(); }