rename
This commit is contained in:
parent
7e6a063bdb
commit
d57456d7b0
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue