Adventure at Umalu  22nd March, 2013
Rogue-like Dungeon Crawler, written in Java
 All Classes Functions Variables Pages
Public Member Functions | List of all members
jade.ui.Camera Interface Reference
Inheritance diagram for jade.ui.Camera:
rogue.creature.Player

Public Member Functions

int x ()
 
int y ()
 
World world ()
 
Collection< CoordinategetViewField ()
 

Detailed Description

An interface used by

Terminal

to draw the cells visible on a

World

at a specific location. Notice that for an

Actor

to implement the interface, only

is needed. Thus it would be easy to always show what a specific

Actor

can see.

Member Function Documentation

Collection<Coordinate> jade.ui.Camera.getViewField ( )

Returns the current view field of the

Camera
Returns
the current view field of the
Camera

Implemented in rogue.creature.Player.

World jade.ui.Camera.world ( )

Returns the

World

the

Camera

is observing.

Returns
the
World
the
Camera
is observing
int jade.ui.Camera.x ( )

Returns the x location of the

Camera

.

Returns
the x location of the
Camera
int jade.ui.Camera.y ( )

Returns the y location of the

Camera

.

Returns
the y location of the
Camera

The documentation for this interface was generated from the following file: