Player
Indicates the player that the user plays.
Methods
is_near
public Verify that the GameObject and other GameObject are within a certain distance.
Usage
player = gamium.player(By.path('Object path'))
player.is_near(By.path('Another object path'), 10)
Arguments
move
public Move the Player to a specific position.
Usage
player = gamium.player(By.path('Object path'))
player.move(By.path('Camera object path'), By.path('Dest Object path'), MovePlayerOptions(MovePlayerBy.Navigation))
Arguments
camera_locator
Locatoroptions
MovePlayerOptions
Return
refresh
public Updates the information that the object has.
Usage
player = gamium.player(By.path('Object path'))
player.refresh()