Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tttsaurus committed Jan 5, 2025
1 parent 05ca1df commit e928223
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,16 @@ This is a library mod that helps you to create in-game overlaid (or focused) gui
- Introduce modular animation options for controls
- Add crt support (✔)

## Quick Start
## Latest Build
In case you want to use the latest action build
- Go to [GitHub Actions](https://github.com/tttsaurus/Ingame-Info-Reborn/actions)
- Click on the latest workflow
- Scroll down to the bottom and download the `Artifacts`
- Unzip and `ingameinfo-[version].jar` is the mod file

## How to use
API is changing frequently for the current stage.
Here's an easy example.
Here's an easy example under v1.0.0-b1.

`./config/ingameinfo/test.ixml`
```xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public class IgiGuiContainer
private boolean initFlag = false;

//<editor-fold desc="getters">
public ViewModel<?> getViewModel() { return viewModel; }
public int getExitKeyForFocusedGui() { return exitKeyForFocusedGui; }
public boolean getFocused() { return isFocused; }
public boolean getInitFlag() { return initFlag; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@SuppressWarnings("all")
public class VvmBinding<TView extends View>
{
public TView view;
private TView view;

public GuiLayout init(ViewModel<TView> viewModel, String mvvmRegistryName)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@SuppressWarnings("all")
public abstract class ViewModel<T extends View>
{
public VvmBinding<T> binding = new VvmBinding<>();
private VvmBinding<T> binding = new VvmBinding<>();

// init entry point
private GuiLayout init(String mvvmRegistryName)
Expand Down

0 comments on commit e928223

Please sign in to comment.