import code
This commit is contained in:
17
src/com/mojang/ld22/entity/Lantern.java
Normal file
17
src/com/mojang/ld22/entity/Lantern.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.mojang.ld22.entity;
|
||||
|
||||
import com.mojang.ld22.gfx.Color;
|
||||
|
||||
public class Lantern extends Furniture {
|
||||
public Lantern() {
|
||||
super("Lantern");
|
||||
col = Color.get(-1, 000, 111, 555);
|
||||
sprite = 5;
|
||||
xr = 3;
|
||||
yr = 2;
|
||||
}
|
||||
|
||||
public int getLightRadius() {
|
||||
return 8;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user