Skip to content

atl/sm/players

import "atl/sm/players"

Players (sm.player).

func All() []sm.Player

Every connected player.

func Host() sm.Player

The host player.

func Local() sm.Player

[client] This client's player.

func PlaceLift(p sm.Player, creation []sm.Body, position sm.Vec3, level, rotation int)
func RemoveLift(p sm.Player)

[server] Same as sm.Player.PlaceLift / RemoveLift.