Index

Package: States

Description

private package Entities.Players.Little_Keen.States is
Copyright (c) 2012 Kevin Wellwood All rights reserved. This source code is distributed under the Modified BSD License. For terms and conditions, see license.txt.

Classes

Moving_State

type Moving_State is new State with null record;

Ancestors:

Entities.Players.Little_Keen.State

Primitive operations:

Entities.Players.Little_Keen.Get_Frame (Inherited)
Entities.Players.Little_Keen.Update (Inherited)

Bored_State

type Bored_State is new State with null record;

Ancestors:

Entities.Players.Little_Keen.State

Primitive operations:

Entities.Players.Little_Keen.Get_Frame (Inherited)
Entities.Players.Little_Keen.Update (Inherited)

Subprograms & Entries

Get_State

function Get_State
( action: Action_Type ) return A_State;
Returns a reference to the singleton State object for the corresponding Action_Type.

Get_Frame

function Get_Frame
( this: Moving_State;
k: Little_Keen'Class ) return Natural;

Get_Frame

function Get_Frame
( this: Bored_State;
k: Little_Keen'Class ) return Natural;

Update

procedure Update
( this: Moving_State;
k: A_Little_Keen );

Update

procedure Update
( this: Bored_State;
k: A_Little_Keen );