AbilityModifierEntry.java 885 Bytes
Newer Older
Melledy's avatar
Melledy committed
1
package emu.grasscutter.data.binout;
Melledy's avatar
Melledy committed
2
3
4
5

import java.util.ArrayList;
import java.util.List;

Melledy's avatar
Melledy committed
6
import emu.grasscutter.data.binout.AbilityModifier.AbilityModifierAction;
Melledy's avatar
Melledy committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

public class AbilityModifierEntry {
	private String name; // Custom value
	public List<AbilityModifierAction> onModifierAdded;
	public List<AbilityModifierAction> onThinkInterval;
	public List<AbilityModifierAction> onRemoved;
	
	public AbilityModifierEntry(String name) {
		this.name = name;
		this.onModifierAdded = new ArrayList<>();
		this.onThinkInterval = new ArrayList<>();
		this.onRemoved = new ArrayList<>();
	}
	
	public String getName() {
		return name;
	}

	public List<AbilityModifierAction> getOnAdded() {
		return onModifierAdded;
	}

	public List<AbilityModifierAction> getOnThinkInterval() {
		return onThinkInterval;
	}

	public List<AbilityModifierAction> getOnRemoved() {
		return onRemoved;
	}
	
}