Changes
Page history
Update Getting Started
authored
Oct 17, 2020
by
Moritz Brückner
Show whitespace changes
Inline
Side-by-side
Getting-Started.md
View page @
cf9e1d5a
...
...
@@ -72,8 +72,7 @@ class Main {
static
function
initialized
(
window
:
kha
.
Window
)
{
kha
.
Assets
.
loadEverything
(
function
()
{
Koui
.
init
();
Koui
.
init
(()
->
{
var
button
=
new
Button
(
"Click me!"
);
button
.
setPosition
(
400
,
180
);
...
...
@@ -89,6 +88,9 @@ class Main {
});
Koui
.
add
(
button
);
});
});
}
...
...
@@ -117,8 +119,7 @@ class KouiTrait extends iron.Trait {
super
();
notifyOnInit
(
function
()
{
Koui
.
init
();
Koui
.
init
(()
->
{
var
button
=
new
Button
(
"Click me!"
);
button
.
setPosition
(
400
,
180
);
...
...
@@ -135,6 +136,7 @@ class KouiTrait extends iron.Trait {
Koui
.
add
(
button
);
});
});
}
}
```
...
...
...
...