summaryrefslogtreecommitdiff
path: root/core/src/main/java/coffee/liz/ecs/events/EntityEvent.java
blob: cae20e6d68a920eefcfece315391b574005561dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package coffee.liz.ecs.events;

import coffee.liz.ecs.model.Entity;

/** Marker interface for events emitted by {@link Entity}. */
public interface EntityEvent {
    /**
     * Get the entity that emitted this event.
     *
     * @return source {@link Entity}
     */
    Entity getEntity();
}