-
-
Save barcharcraz/89949faacc8d88ba884d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proc makePlayer(scene: SceneId): EntityId = | |
| result = genEntity() | |
| result.add(initTransform()) | |
| result.add(initHealth()) | |
| result.add(initSize()) | |
| result.add(getTexture("the player's texture")) | |
| result.add(getMesh("the player model")) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment