Package tripleplay.entity
Class Component.IScalar
java.lang.Object
tripleplay.entity.Component
tripleplay.entity.Component.IScalar
- Enclosing class:
Component
A component implementation for a single scalar
int
.-
Nested Class Summary
Nested classes/interfaces inherited from class tripleplay.entity.Component
Component.FScalar, Component.Generic<T>, Component.IMask, Component.IScalar, Component.XY
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IScalar
-
-
Method Details
-
get
public int get(int entityId) Returns the value of this component forentityId
. -
set
public void set(int entityId, int value) Updates the value of this component forentityId
. -
add
public void add(int entityId, int dv) Addsdv
to the value of this component forentityId
.
-