func (c *Connection) ReceivePlayerTurn(_packet *pnet.Packet) { msg := pnetmsg.NewCreatureTurnMessage(c.Owner) msg.ReadPacket(_packet) }
func (c *Connection) SendCreatureTurn(_creature pul.ICreature, direction int) { msg := pnetmsg.NewCreatureTurnMessage(_creature) msg.AddDirection(direction) c.SendMessage(msg) }