private void HandleRadiusChange(Element sender, ElementChangedEventArgs <float> args) { this.server.BroadcastPacket(CollisionShapePacketFactory.CreateSetRadius(args.Source, args.NewValue)); }
private void HandlePolygonHeightChanged(Element sender, ElementChangedEventArgs <Vector2> args) { this.server.BroadcastPacket(CollisionShapePacketFactory.CreateSetHeight(args.Source, args.NewValue)); }
private void HandlePointPositionChanged(Element sender, CollisionPolygonPointPositionChangedArgs args) { this.server.BroadcastPacket(CollisionShapePacketFactory.CreatePointPositionChanged(args.Polygon, args.Index, args.Position)); }
private void HandleHeightChanged(Element sender, ElementChangedEventArgs <float> args) { this.server.BroadcastPacket(CollisionShapePacketFactory.CreateSizeChanged(args.Source, new Vector3(args.NewValue, 0, 0))); }
private void Handle3DDimensionChanged(Element sender, ElementChangedEventArgs <Vector3> args) { this.server.BroadcastPacket(CollisionShapePacketFactory.CreateSizeChanged(args.Source, args.NewValue)); }