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 float
get()
void
set(float f)
protected String
sync()
protected void
sync(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:
sync
in classSyncronized
-
sync
protected String sync()
- Specified by:
sync
in classSyncronized
-
-