Class SetCamAction
- java.lang.Object
-
- page.codeberg.terratactician_expandoria.bots.actions.Action
-
- page.codeberg.terratactician_expandoria.bots.actions.SetCamAction
-
public class SetCamAction extends Action
Action to move the players cam. This action is restricted for the creative mode.
-
-
Constructor Summary
Constructors Constructor Description SetCamAction(Vec3 focus, Vec2 orbit, float radius)
Create a action to move the player cam.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Name of the action in the json package.boolean
isLimited()
Returns true if the action is limited in challenge mode, by the action cap.java.lang.Object
serializeData()
Serializes the data of the Action.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:Action
Name of the action in the json package.
-
serializeData
public java.lang.Object serializeData()
Description copied from class:Action
Serializes the data of the Action. This may returns a JSONObject or String or an other supported datatype.- Specified by:
serializeData
in classAction
- Returns:
- JSONObject or String
-
-