Class SyncFloat
- java.lang.Object
-
- de.coreengine.network.Syncronized
-
- de.coreengine.network.syncronized.SyncFloat
-
public class SyncFloat extends Syncronized
Float that can be syncronized in a network- Author:
- Darius Dinger
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatget()voidset(float f)protected Stringsync()protected voidsync(String sync)-
Methods inherited from class de.coreengine.network.Syncronized
change, syncronize
-
-
-
-
Constructor Detail
-
SyncFloat
public SyncFloat(String tag)
- Parameters:
tag- Tag of the syncronized float
-
-
Method Detail
-
get
public float get()
- Returns:
- Current value of the float
-
set
public void set(float f)
- Parameters:
f- New value of the float
-
sync
protected void sync(String sync)
- Specified by:
syncin classSyncronized
-
sync
protected String sync()
- Specified by:
syncin classSyncronized
-
-