public class IDComponent extends Component implements SerializableComponent
| Constructor and Description |
|---|
IDComponent(String name,
int id)
Constructs ID component with given entity name and id.
|
public IDComponent(String name, int id)
name - string representation of entity nameid - numeric id that uniquely identifies the entity with given namepublic final String getName()
public final int getID()
public final String getFullID()
public void write(@NotNull
Bundle bundle)
public void read(@NotNull
Bundle bundle)
Copyright © 2017. All rights reserved.