PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
real-time
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Got an iPhone or iPad? We have a brand new Pastebin App for both devices, and it's totally free!
Click here to download the new Pastebin App for iOS
.
Public Pastes
Sexy Video
12 sec ago
Untitled
4 sec ago
assembly
5 sec ago
Untitled
C++ | 8 sec ago
Untitled
16 sec ago
Untitled
13 sec ago
defa
14 sec ago
Untitled
15 sec ago
Spoon
By: a guest on Feb 9th, 2010 | syntax:
None
| size: 0.30 KB | hits: 33 | expires: Never
download
|
raw
|
embed
|
report abuse
Copied
class Player {
int xposish; int yposish;
color paddlecolor = color(150);
Player(int screen_y)
{
xposish=200;
yposish=screen_y;
}
void move(int x){
xposish = x;
}
void draw()
{
fill(paddlecolor);
rect(xposish, yposish, PADDLEWIDTH, PADDLEHEIGHT);
}
}
create a
new version
of this paste
RAW Paste Data
class Player { int xposish; int yposish; color paddlecolor = color(150); Player(int screen_y) { xposish=200; yposish=screen_y; } void move(int x){ xposish = x; } void draw() { fill(paddlecolor); rect(xposish, yposish, PADDLEWIDTH, PADDLEHEIGHT); } }