ModelComponent

public class ModelComponent implements Component

Component for tracking model state. Attach this component to entities that need to track model data.

java.lang.Object > ModelComponent

Field Summary

isNetworkOutdated

private boolean isNetworkOutdated

Field isNetworkOutdated.

temp

final boolean temp

Field temp.

Method Detail

getComponentType

public ModelComponent> getComponentType ()

Method getComponentType.

ModelComponent

public public ModelComponent (final Model model)

Method ModelComponent.

Parameters:
final Model model

getModel

public Model getModel ()

Method getModel.

consumeNetworkOutdated

public boolean consumeNetworkOutdated ()

Method consumeNetworkOutdated.

clone

public Component clone ()

Method clone.