-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPoro.java
More file actions
43 lines (37 loc) · 810 Bytes
/
Copy pathPoro.java
File metadata and controls
43 lines (37 loc) · 810 Bytes
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
public class Poro extends Animal implements Swimming, Running
{
public Poro()
{
super("Poro", "The Magical creature of the Freljord.");
}
public Poro(String name, String desc)
{
super(name, desc);
}
@Override
public String play()
{
return "The poro is thrown like a snowball.";
}
@Override
public String eat()
{
return "Braum feeds it some biscuits.";
}
@Override
public String makeNoise()
{
return "The poro purrs.";
}
@Override
public String swim()
{
return "It rolls around in the snowy plains.";
}
@Override
public String run()
{
return "It runs and rides on Braum's shoulders \n" +
"instead.";
}
}