Программирование - это просто
Advertisement
arrow arrow arrow Easy game base library version 2.2
06.02.2023 .
1:
C#
Delphi
Web-
Excel-
.
Easy game base library version 2.2 E-mail
megabax   
07.06.2010 .

.

.

(C) . . www.easyprog.ru

 

Easy game base library version 2.2

 

EasyGameBase .

 

TEGBaseClass. . Serialize Unserialize,   .   ,   GetVersion, . , . FVersion.   GetClassCaption, . .

1.4 ID , .

 

TEGVector. . . . 

 

TEGBitmap. . . , BitBigmap. 2.1 .

 

TEGCollection. . , .   IsMap, , . , .  

 

TEGPointerCollection. TEGBaseClass . TEGContainer , .

 

TEGLocationObjectsCollection TEGPointerCollection. TEGLocationObject . TEGBaseClass , .

 

TEGEvent. . , Reaction (), - . Age, .

 

TEGAxesSystem. . x y. GetX, GetY GetPoint. , ScreenToAxesX ScreenToAxesY.

 

TEGNoun. . (TEGContainer) , (TEGObject).  MakeQuantumOfTime, . AcceptAction. . 

 

TEGContainer. . AddGameObject . MakeQuantumOfTime . (TEGMap)   (TEGPlatform).   TEGPointerCollection TEGLocationObjectsCollection , , Delete.

 

TEGStoredCollection. , , TEGBitmaps

 

TEGBitmapsCollection - TEGBitmap. TEGBitmaps . .

 

TEGBitmaps. TEGBitmap. - GetBitmapById.

 

TEGMap. .   (MaxX MaxY), AddGameObject (TEGLocationObject) .   Draw, . TEGAxesSystem. FindObjectsAsCoord FindObjectsAsCoordAndClassName. TEGLocationObjectsCollection. TImage Image.

 

TEGAction.   . GetActionName, . ( FInitiator). TEGAction, , , . , :

         .

         , ( ).

 

 

TEGPlatform. . .   . , MakeQuantumOfTime , . , .

 

TEGObject.  . ( Action).

 

TEGTask. . , , Active. , IsCanExec.

 

TEGLocationObject. , . DrawWithMap . IsCollision, () . , , IsMobile. false , () . GetStopVector, . , 0, , .   . , , . , , . , , , ( 0 1).   IsCollision GetStopVector TEGWall (), TEGUnit TEGEventsUnit.

 

TEGPartOfObject. , . , : , , , , .

 

TEGPartsContainer.     (TEGPartOfObject).

 

TEGDrawMapObject. , . TEGLocationObject. Bitmap:TEGBitmap -  , .

 

TEGUnit. . , VX, VY ( X Y) . 1.4 ( UnitDrawMode):

         udrQuantumOfTime - ( ).

         udrNewLocation - ( , ).

1.5 GetVAsVector .

 

TEGWall. . ( ).   , TEGEventsUnit .

 

TEGPartOfWall. TEGWall ().  IsPossibleEnter, , . , . .

 

TEGWallPartsContainer. . TEGPartOfWall .

 

TEGAbstractDoor. . Closed ( true, ).   , TEGAbstractDoor TEGPartOfWall.

 

 

EasyGameWallForm .

 

TfrmWallParameters. . : , , , .

 

 

EaseGameForms -  .

 

TEGObjectEditForm . :

 

  TfrmWallParameters = class(TEGObjectEditForm)

    chbTop: TCheckBox;

    chbLeft: TCheckBox;

    chbRight: TCheckBox;

    chbBottom: TCheckBox;

    spX: TSpinEdit;

    spY: TSpinEdit;

    Label1: TLabel;

    Label2: TLabel;

    btnOk: TBitBtn;

  private

    { Private declarations }

  public

    { Public declarations }

    function EditObject(AObject:TEGBaseClass):integer; override;

  end;

 

EasyGameActions- 

 

TEGStopAction. .  StopVector:TEGVector. . ,

         .

         , "", .

         .

 

TEGEat.   . ( TEGPredator ) .

 

EasyGameEvents -  ,

 

TEGCollisionEvent. . , .   TEGEventsUnit TEGWall , .

TEGEventsUnit. , , . Stop .

 

EasyGameTasks -  .

 

TEGRandomWalk. . , . : Delta.

 

EasyGameUnits

 

TEGPredator. . ChooseReactionOfCollision , , . .

 

EasyGameBitmapForm TEGBitmap.

 

TfrmEGBitmapForm.   TEGBitmap. TEGObjectEditForm, EditObject.

 

EasyGameParts .

 

TEGDoor. . . . , . . TEGAbstractDoor. Close.

  TfrmWallParameters = class(TEGObjectEditForm)

    chbTop: TCheckBox;

    chbLeft: TCheckBox;

    chbRight: TCheckBox;

    chbBottom: TCheckBox;

    spX: TSpinEdit;

    spY: TSpinEdit;

    Label1: TLabel;

    Label2: TLabel;

    btnOk: TBitBtn;

  private

    { Private declarations }

  public

    { Public declarations }

    function EditObject(AObject:TEGBaseClass):integer; override;

  end;

 

EasyGameActions- 

 

TEGStopAction. .  StopVector:TEGVector. . ,

        .

        , "", .

        .

 

 

 

EasyGameEvents -  ,

 

TEGCollisionEvent. . , .   TEGEventsUnit TEGWall , .

TEGWall. , , . Stop .

 

( 07.06.2010 . )
 
« .   . »
 
© 2023 Программирование - это просто
Joomla! - , GNU/GPL.
© 2005-2008 Joom.Ru - Joomla!
Design by Mamboteam.com | Powered by Mambobanner.de
  .