-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInput.java
More file actions
75 lines (57 loc) · 2.39 KB
/
Copy pathInput.java
File metadata and controls
75 lines (57 loc) · 2.39 KB
1
2
3
4
5
6
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package JavaTesting;
import magepack.*;
import DataStructuring.*;
import ObjectsSystem.*;
import java.util.*;
public class Input {
public static void main (String args[]){
Mage mage = new Mage();
Mage.Sorcerer Decoretum = mage.new Sorcerer("Decoretum", 19, "Abyss", "Destruction & Alteration");
Mage.Spellsword Pontrilius = mage.new Spellsword("Pontrilius", 19, "Lightning", "Blade, Destruction, & Alteration");
Decoretum.Information();
Decoretum.WarCry();
System.out.println("");
Pontrilius.WarCry();
Pontrilius.Information();
System.out.println("");
//higher mages, public classes within a public main class, hence inner public classes
HigherMages highmage = new HigherMages();
HigherMages.ArchSorcerer DecoretumtheGreat = highmage.new ArchSorcerer("Decoretum",19,"Abyss","Destruction, Alteration, & Conjuration");
HigherMages.Necromancer Absalon = highmage.new Necromancer("Absalon", 19, "Lightning", "Destruction & Restoration");
DecoretumtheGreat.Arrogance();
DecoretumtheGreat.Abilities();
DecoretumtheGreat.Quote();
Absalon.Quote();
//abyss category
AbyssGod DarkMother = new AbyssGod();
AbyssAdept DarkAdept = new AbyssAdept("Malborn", "Destruction & Conjuration");
DarkMother.WarCry();
DarkAdept.WarCry();
System.out.println("");
//trying out structuring
HashMap<Object,Object>ErrorObject = new HashMap<Object,Object>();
ErrorObject.put(false,"Killed a lion");
ErrorObject.put(123124,"Destroyed Worlds");
ErrorObject.put(true, "Defied the devil");
ErrorObject.put(1231, true);
DataStructures2 Gael = new DataStructures2();
Gael.ObjectFilter(ErrorObject);
System.out.println("\n\n\n");
//PersonObject
/*
Son Haha = new Son();
Haha.Pride(); an example of separate classes in separate files with inheritance
*/
System.out.println("\n\n\n\n");
int[]array = {12,312,12,414,1222};
Functions.ArraySum(array);
GaelChild Publicity = new GaelChild();
Publicity.OnlyPublic();
GaelChild.CanBeStatic();
int[] TestArray = Functions.ManipulatedArray(array);
for (int i : TestArray){
System.out.println(i);
}
Gael Tinie = new Gael("Tinie");
}
}