Class House1
- java.lang.Object
-
- net.egartley.beyondorigins.core.abstracts.Renderable
-
- net.egartley.beyondorigins.core.abstracts.Entity
-
- net.egartley.beyondorigins.core.abstracts.StaticEntity
-
- net.egartley.beyondorigins.ingame.Building
-
- net.egartley.beyondorigins.ingame.buildings.House1
-
-
Field Summary
Fields Modifier and Type Field Description private EntityBoundary
blockBoundary1
private EntityBoundary
blockBoundary2
private EntityBoundary
blockBoundary3
-
Fields inherited from class net.egartley.beyondorigins.ingame.Building
currentFloor, entryBoundary, entryFloor, floors, playerLeaveX, playerLeaveY
-
Fields inherited from class net.egartley.beyondorigins.core.abstracts.Entity
boundaries, canCollide, defaultBoundary, deltaX, deltaY, DIRECTION_DOWN, DIRECTION_LEFT, DIRECTION_RIGHT, DIRECTION_UP, firstLayer, health, image, interactions, inventory, isAllowedToMoveDownwards, isAllowedToMoveLeftwards, isAllowedToMoveRightwards, isAllowedToMoveUpwards, isAnimated, isCollided, isDualRendered, isMovingDownwards, isMovingLeftwards, isMovingRightwards, isMovingUpwards, isSectorSpecific, isTraversable, lastCollision, lastCollisionEvent, maximumHealth, name, secondLayer, sheets, speed, sprite, sprites, uuid
-
-
Constructor Summary
Constructors Constructor Description House1(int x, int y, int playerLeaveX, int playerLeaveY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setBoundaries()
Sets the entity's boundariesvoid
setCollisions()
Sets the entity's collisions-
Methods inherited from class net.egartley.beyondorigins.ingame.Building
addFloor, changeFloor, downstairs, onPlayerEnter, onPlayerLeave, setInteractions, upstairs
-
Methods inherited from class net.egartley.beyondorigins.core.abstracts.Entity
allowAllMovement, drawDebug, drawFirstLayer, drawSecondLayer, move, onMove, onSectorEnter, onSectorLeave, render, setPosition, setSprite, setSprite, setSprites, tick, toString, x, x, y, y
-
Methods inherited from class net.egartley.beyondorigins.core.abstracts.Renderable
x, y
-
-
-
-
Field Detail
-
blockBoundary1
private EntityBoundary blockBoundary1
-
blockBoundary2
private EntityBoundary blockBoundary2
-
blockBoundary3
private EntityBoundary blockBoundary3
-
-
Method Detail
-
setBoundaries
protected void setBoundaries()
Description copied from class:Entity
Sets the entity's boundaries- Overrides:
setBoundaries
in classBuilding
- See Also:
Entity.boundaries
-
setCollisions
public void setCollisions()
Description copied from class:Entity
Sets the entity's collisions- Overrides:
setCollisions
in classBuilding
- See Also:
Entity.boundaries
-
-