GODPAPER | All Packages | All Classes | Index | Frames No Frames |
ChessPiecesMemento

Package | com.godpaper.as3.model
Class | public class ChessPiecesMemento
Inheritance | ChessPiecesMemento Object

The Memento pattern says that: in order to record the state for this class, We must create a memento type that we will call ChessPiecesMemento. The ChessPiecesMemento is capable of storing the Chess Pieces' values.

Public Properties

| Property | Defined By
--- | --- | ---
|  | conduct : ConductVO | ChessPiecesMemento

Public Methods

| Method | Defined By
--- | --- | ---
|  | ChessPiecesMemento(conduct:ConductVO) | ChessPiecesMemento

Property Detail

conduct | property

`conduct:ConductVO`

Implementation
`public function get conduct():ConductVO`
`public function set conduct(value:ConductVO):void`
Constructor Detail

ChessPiecesMemento | () | Constructor

`public function ChessPiecesMemento(conduct:ConductVO)`

Parameters

| `conduct:ConductVO`

Thu Jan 16 2014, 01:11 PM +08:00