/*
 * FXGL - JavaFX Game Library. The MIT License (MIT).
 * Copyright (c) AlmasB (almaslvl@gmail.com).
 * See LICENSE for details.
 */

package com.almasb.fxgl.entity.component;

import com.almasb.fxgl.entity.CopyableComponent;

/**
 * Marks an entity as collidable.
 *
 * @author Almas Baimagambetov (AlmasB) (almaslvl@gmail.com)
 */
@Required(PositionComponent.class)
@Required(TypeComponent.class)
@Required(BoundingBoxComponent.class)
public class CollidableComponent extends BooleanComponent implements CopyableComponent<CollidableComponent> {
    public CollidableComponent(boolean collidable) {
        super(collidable);
    }

    public CollidableComponent() {
        this(false);
    }

    @Override
    public CollidableComponent copy() {
        return new CollidableComponent(getValue());
    }
}

@@ -633,71 +633,8 @@
  %7D%0A%0A
-    public CollidableComponent() %7B%0A        this(false);%0A    %7D%0A%0A
     

remove noarg ctor