public class Baseboard
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Baseboard(float thickness,
float height,
java.lang.Integer color,
HomeTexture texture)
Creates a baseboard.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Returns
true if this baseboard is equal to object . |
java.lang.Integer |
getColor()
Returns the color of this baseboard.
|
float |
getHeight()
Returns the height of this baseboard.
|
static Baseboard |
getInstance(float thickness,
float height,
java.lang.Integer color,
HomeTexture texture)
Returns an instance of this class matching the given parameters.
|
HomeTexture |
getTexture()
Returns the texture of this baseboard.
|
float |
getThickness()
Returns the thickness of this baseboard.
|
int |
hashCode()
Returns a hash code for this baseboard.
|
public Baseboard(float thickness, float height, java.lang.Integer color, HomeTexture texture)
public static Baseboard getInstance(float thickness, float height, java.lang.Integer color, HomeTexture texture)
public float getThickness()
public float getHeight()
public java.lang.Integer getColor()
public HomeTexture getTexture()
public boolean equals(java.lang.Object object)
true
if this baseboard is equal to object
.equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License