Skip to content

Commit

Permalink
Новый метод инициализации и обработчик событий.
Browse files Browse the repository at this point in the history
  • Loading branch information
FibonacciFox committed Mar 18, 2021
1 parent 0ee4ab3 commit 0fbcf47
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 71 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

- **Описание**: Пакет для разработки 2D-3D игр и программ на движке App Game Kit, используя возможности JPHP и Java.
- **Собран**: Менеджером пакетов [JPPM v0.6.7](https://github.com/jphp-group/jphp/releases).
- **Версия**: [v0.9-alpha](https://github.com/FibonacciFox/jphp-appgamekit-ext).
- **Версия**: [v0.9.1](https://github.com/FibonacciFox/jphp-appgamekit-ext).

### Начало Работы

Expand All @@ -45,7 +45,7 @@
- **Из консоли**: Если используем Менеджер пакетов [JPPM v0.6.7](https://github.com/jphp-group/jphp/releases):

```console
> jppm add [email protected]
> jppm add [email protected].1
```

- **DevelNext**: Проект->Пакеты->Добавить пакет из файла [jphp-appgamekit-ext-x.x.dnbundle](https://github.com/FibonacciFox/jphp-appgamekit-ext/releases)->
Expand Down
45 changes: 0 additions & 45 deletions docs/README.md

This file was deleted.

4 changes: 2 additions & 2 deletions package.php.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: jphp-appgamekit-ext
version: 0.9
version: 0.9.1
description: App Game Kit for JPHP

plugins:
Expand Down Expand Up @@ -35,7 +35,7 @@ doc:
ru: Русский

develnext-bundle:
version: 0.9
version: 0.9.1
name: "App Game Kit"
author: "FibonacciFox"
icon: "develnext/bundle/appgamekit/icon32.png"
Expand Down
2 changes: 1 addition & 1 deletion sdk/php/fibonaccifox/AppGameKit.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* Класс описания методов, реализованных в AppGameKit для <b>x64</b> и <b>x86</b>.
* @author FibonacciFox
* @version 0.9
* @version 0.9.1
*/
class AppGameKit
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Класс описания методов, реализованных в AppGameKit для <b>x64</b> и
* <b>x86</b> битных систем.
*
* @version 0.9
* @version 0.9.1
* @autor FibonacciFox
*/
@Name("AppGameKit")
Expand Down Expand Up @@ -50,22 +50,6 @@ public String getPath(String fileName) {
return "raw:" + dir + "/media/" + fileName;
}

/**
* Обновить окно Windows
*
* @return void
*/
@Signature
public native void UpdateWindow();

/**
* Показать окно Windows
*
* @return void
*/
@Signature
public native void ShowWindow();

/**
* Инициализируем OpenGL для отрисовки в стороннее окно
*
Expand All @@ -75,12 +59,14 @@ public String getPath(String fileName) {
public native void InitGL(int hWnd);

/**
* Инициализируем AppGameKit
*
* @return void
* Создаем окно и инициализируем App Game Kit
* @param nameWindow - Название окна
* @param deviceWidth - Ширина окна
* @param deviceHeight - Высота окна
* @param fullscreen - Полный экран
*/
@Signature
public native void Init();
public native void Init(String nameWindow, int deviceWidth, int deviceHeight, boolean fullscreen);

/**
* Creates an anchor from the given hit test result which can be used to track a
Expand Down

0 comments on commit 0fbcf47

Please sign in to comment.