-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ITRPGMapConnector, GamePlayManager and IsoUnityConnector
- ITRPGMapConnector interface "implemented" - GetCharacterAtCell method in IsoUnityConnector implemented - GamePlayManager totally independent of IsoUnity - Starting GamePlayManager methods (Create canvas menu, moveEvent and attackEvent completed; Turn prepared) - LifeBar improved
- Loading branch information
Showing
46 changed files
with
243 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
using IsoUnity; | ||
using IsoUnity.Entities; | ||
|
||
public delegate void SetCharacterPositionCallBack(bool result); | ||
public delegate void MoveCharacterToCallBack(bool result); | ||
public delegate void ShowAreaCallBack(Cell selectedCell, bool result); | ||
public delegate void MoveCameraToCallback(bool result); | ||
|
||
public interface ITRPGMapConnector { | ||
List<Cell> calculateAttackPath(Character character, Cell cell); | ||
void cleanCells(); | ||
void MoveCameraToCharacter(CharacterScript character, MoveCameraToCallback callback); | ||
void MoveCharacterTo(CharacterScript character, Cell cell, MoveCharacterToCallBack callback); | ||
IEnumerator SelectedCell(); | ||
void SetCharacterPosition(CharacterScript character, Cell cell, SetCharacterPositionCallBack callback); | ||
void ShowArea(CharacterScript character, EventTypes eventType, ShowAreaCallBack callback); | ||
void triggerAnimation(Character character, Cell cell); | ||
CharacterScript GetCharacterAtCell(Cell cell); | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.