Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBRDeveloper committed Jul 18, 2024
1 parent e7be4a8 commit d5b1475
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ For make a simple hello world:

public class Example extends Activity {
public static void main(String[] args) {
Application.initialize(Example::new);
Application.initialize(new TexelProject("application.package",new Launch<>(Example.class)));
}

@Override
Expand Down
3 changes: 2 additions & 1 deletion src/br/nullexcept/mux/core/texel/TexelProject.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
public class TexelProject implements Project {
private final String package_;
private final Launch<Activity> initial;
private TexelAPI core = new TexelAPI();

public <T extends Activity> TexelProject(String package_, Launch<T> initial) {
this.package_ = package_;
Expand All @@ -26,6 +27,6 @@ public Launch<Activity> getLaunch() {

@Override
public CoreBoostrap getCoreBootstrap() {
return new TexelAPI();
return core;
}
}

0 comments on commit d5b1475

Please sign in to comment.