HelloPoetry
Classics
Words
Blog
F.A.Q.
About
Contact
Guidelines
© 2024 HePo
by
Eliot
Submit your work, meet writers and drop the ads.
Become a member
TheCanadianReggaeBoy
Poems
Nov 2014
Becker.Robot.ReggaeBoy
import becker.robots;
import becker.reggae;
public class ReggaeBoy extends Robot{
public ReggaeBoy(City c, int s, int a, Direction d, String label){
super(c,s,a,d);
this.setIcon("ReggaeBoy.png");
this.setLabel("Reggae Boy");
}
public void bunUp(){
this.setIcon("kush.png");
this.setColor(GREEN);
this.setSpeed(this.getSpeed/2);
}
public void playReggae(int songNumber){
String musicFile = ("bobM.mp3,herbs.mp3,reggaeTime.mp3");
String[] musicFileSplit = musicFile.split(",");
this.playSong(musicFileSplit[songNumber]);
}
}
reggae in code
#java
#reggae
#software
#becker
Written by
TheCanadianReggaeBoy
Jamaica, ON
(Jamaica, ON)
Follow
😀
😂
😍
😊
😌
🤯
🤓
💪
🤔
😕
😨
🤤
🙁
😢
😭
🤬
0
1.1k
SPT
,
truckerwithapassionforreggae
and
Reggae Mon Offishal
Please
log in
to view and add comments on poems