rename
This commit is contained in:
parent
7e6a063bdb
commit
d57456d7b0
|
@ -1,11 +1,11 @@
|
||||||
!!
|
!
|
||||||
! Note that these look like classes but act like structs
|
! Note that these look like classes but act like structs
|
||||||
! the methods actually have a implied struct as their first argument
|
! the methods actually have a implied struct as their first argument
|
||||||
!!
|
!
|
||||||
|
|
||||||
!!
|
!
|
||||||
! Camera .
|
! Camera .
|
||||||
!!
|
!
|
||||||
type Camera {
|
type Camera {
|
||||||
init(real[3] pos, real[3] look) {
|
init(real[3] pos, real[3] look) {
|
||||||
this.setting = "CAMERA_PERSPECTIVE";
|
this.setting = "CAMERA_PERSPECTIVE";
|
||||||
|
@ -16,9 +16,9 @@ type Camera {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
!!
|
!
|
||||||
! Player .
|
! Player .
|
||||||
!!
|
!
|
||||||
type Player {
|
type Player {
|
||||||
init(str username, real[3] pos, Color color) {
|
init(str username, real[3] pos, Color color) {
|
||||||
this.server = Client("tcp://localhost:25565");
|
this.server = Client("tcp://localhost:25565");
|
||||||
|
|
Loading…
Reference in New Issue