Crossfire JXClient, Trunk
Public Member Functions | List of all members
Inheritance.Diveable Interface Reference
Inheritance diagram for Inheritance.Diveable:
Inheritance graph
Collaboration diagram for Inheritance.Diveable:
Collaboration graph

Public Member Functions

default String dive ()
 
default String swim ()
 

Detailed Description

The behavior of an creature that can dive: the interface that overrides swim method (subtype of Swimable)

Definition at line 91 of file Inheritance.java.

Member Function Documentation

◆ dive()

default String Inheritance.Diveable.dive ( )

Return string representation of the dive action for a creature that can dive

Returns
string representation of the dive action for a creature that can dive

Definition at line 112 of file Inheritance.java.

◆ swim()

default String Inheritance.Diveable.swim ( )

Return string representation of the swim action for a creature that can dive

Returns
string representation of the swim action for a creature that can dive

Implements Inheritance.Swimable.

Definition at line 101 of file Inheritance.java.


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