mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-08 14:57:30 +07:00
Amending last commit -- added WarpComponent
This commit is contained in:
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user