Skip to content

Commit

Permalink
refactor: Components without attributes to EmptyComponent (#19)
Browse files Browse the repository at this point in the history
Co-authored-by: thierrywong <wong.t@sfeir.com>
  • Loading branch information
spookynutz and thierrywong authored Jan 3, 2024
1 parent 834c380 commit 2796e0c
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
// SPDX-License-Identifier: Apache-2.0
package org.terasology.wildAnimalsGenome.component;

import org.terasology.gestalt.entitysystem.component.Component;
import org.terasology.gestalt.entitysystem.component.EmptyComponent;

/**
* This component is added when an animal's mating behavior is changed to mate.
*/
public class MatingBehaviorComponent implements Component<MatingBehaviorComponent> {
@Override
public void copyFrom(MatingBehaviorComponent other) {

}
public class MatingBehaviorComponent extends EmptyComponent<MatingBehaviorComponent> {
}

0 comments on commit 2796e0c

Please sign in to comment.