SpawnSystem
Inherits: System
Functions
spawn
Spawn a player
function spawn(string memory _name) public returns (bytes32 playerEntity);
Returns
Name | Type | Description |
---|---|---|
playerEntity | bytes32 | Id of player entity |
Inherits: System
Spawn a player
function spawn(string memory _name) public returns (bytes32 playerEntity);
Returns
Name | Type | Description |
---|---|---|
playerEntity | bytes32 | Id of player entity |