RuneHive-Game
Loading...
Searching...
No Matches
PreloadRepository.java
Go to the documentation of this file.
1package com.runehive.content.preloads;
2
3import com.runehive.content.preloads.impl.*;
4
5import java.util.ArrayList;
6import java.util.List;
7
8/**
9 * The preload repository.
10 *
11 * @author Daniel.
12 */
13public class PreloadRepository {
14
15 /** The list containing all the preloads. */
16 public static List<Preload> PRELOADS = new ArrayList<>();
17
18 /** The indexes of all random preloads. */
19 public static final int
20 CAPE = 1,
21 HAT = 2,
28
29 /** Declares all the preloads into the list on startup. */
30 public static void declare() {
31 /* Mains */
32 PRELOADS.add(new MainMeleePreload());
33 PRELOADS.add(new MainRangePreload());
34 PRELOADS.add(new MainNHPreload());
35
36 /* Zerkers */
39 PRELOADS.add(new ZerkerNHPreload());
40
41 /* Pures */
42 PRELOADS.add(new PureMeleePreload());
43 PRELOADS.add(new PureRangePreload());
44 PRELOADS.add(new PureNHPreload());
45
46 /* Initiates */
49 PRELOADS.add(new InitiateNHPreload());
50
51 /* F2Ps */
52 PRELOADS.add(new F2PMeleePreload());
53 PRELOADS.add(new F2PRangePreload());
54 }
55}
static List< Preload > PRELOADS
The list containing all the preloads.
static void declare()
Declares all the preloads into the list on startup.
static final int CAPE
The indexes of all random preloads.
Handles a basic melee equipment preload.
Handles a main nh equipment preload.
Handles a range main equipment preload.
Handles a pure nh equipment preload.