blub
This commit is contained in:
parent
ad4f8727b8
commit
c8dddd7c9a
16 changed files with 384 additions and 12 deletions
33
src/main/java/de/welterde/em/c/EntityLocation.java
Normal file
33
src/main/java/de/welterde/em/c/EntityLocation.java
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* Copyright (C) 2026 welterde
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package de.welterde.em.c;
|
||||
|
||||
import de.welterde.em.Component;
|
||||
import de.welterde.em.ComponentType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author welterde
|
||||
*/
|
||||
public record EntityLocation (int entityId) implements Component {
|
||||
|
||||
@Override
|
||||
public ComponentType getComponentType() {
|
||||
return ComponentType.LOCATION;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue