mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-06 00:57:03 +07:00
Amending last commit -- added WarpComponent
This commit is contained in:
parent
27121b2076
commit
4d177f1b96
19
core/src/com/riiablo/engine/component/WarpComponent.java
Normal file
19
core/src/com/riiablo/engine/component/WarpComponent.java
Normal file
@ -0,0 +1,19 @@
|
||||
package com.riiablo.engine.component;
|
||||
|
||||
import com.badlogic.ashley.core.Component;
|
||||
import com.badlogic.gdx.utils.Pool;
|
||||
import com.riiablo.codec.excel.Levels;
|
||||
import com.riiablo.codec.excel.LvlWarp;
|
||||
|
||||
public class WarpComponent implements Component, Pool.Poolable {
|
||||
public int index;
|
||||
public LvlWarp.Entry warp;
|
||||
public Levels.Entry dstLevel;
|
||||
|
||||
@Override
|
||||
public void reset() {
|
||||
index = -1;
|
||||
warp = null;
|
||||
dstLevel = null;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user