mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-07-02 13:35:33 +02:00
33 lines
715 B
Java
33 lines
715 B
Java
![]() |
package com.eu.habbo.habbohotel.modtool;
|
||
|
|
||
|
import gnu.trove.TCollections;
|
||
|
import gnu.trove.map.TIntObjectMap;
|
||
|
import gnu.trove.map.hash.TIntObjectHashMap;
|
||
|
|
||
|
public class ModToolCategory
|
||
|
{
|
||
|
private final String name;
|
||
|
private final TIntObjectMap<ModToolPreset> presets;
|
||
|
|
||
|
public ModToolCategory(String name)
|
||
|
{
|
||
|
this.name = name;
|
||
|
this.presets = TCollections.synchronizedMap(new TIntObjectHashMap<ModToolPreset>());
|
||
|
}
|
||
|
|
||
|
public void addPreset(ModToolPreset preset)
|
||
|
{
|
||
|
this.presets.put(preset.id, preset);
|
||
|
}
|
||
|
|
||
|
public TIntObjectMap<ModToolPreset> getPresets()
|
||
|
{
|
||
|
return this.presets;
|
||
|
}
|
||
|
|
||
|
public String getName()
|
||
|
{
|
||
|
return this.name;
|
||
|
}
|
||
|
}
|