This site requires JavaScript, please enable it in your browser!
Greenfoot back
mariq_rasyid29
mariq_rasyid29 wrote ...

2021/2/22

How making the actor in to the home?

mariq_rasyid29 mariq_rasyid29

2021/2/22

#
in the code idk what i must to input
import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class home here.
 * 
 * Muhamd Ariq Rasyid
 * 1.0
 */
public class home extends World
{

    /**
     * Constructor for objects of class home.
     * 
     */
    public home()
    {    
        // Create a new world with 600x400 cells with a cell size of 1x1 pixels.
        super(600, 400, 1); 
    }
}
danpost danpost

2021/2/22

#
Please refer to the Greefoot tutorials.
You need to login to post a reply.