This commit is contained in:
zongor 2025-07-27 22:30:23 -04:00
parent 7e6a063bdb
commit d57456d7b0
5 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
!!
!
! Note that these look like classes but act like structs
! the methods actually have a implied struct as their first argument
!!
!
!!
!
! Camera .
!!
!
type Camera {
init(real[3] pos, real[3] look) {
this.setting = "CAMERA_PERSPECTIVE";
@ -16,9 +16,9 @@ type Camera {
}
}
!!
!
! Player .
!!
!
type Player {
init(str username, real[3] pos, Color color) {
this.server = Client("tcp://localhost:25565");