Logo
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Yukar.Engine.BattleCharacterPosition Class Reference

Placement information of allies and enemies during battle More...

Public Types

enum  PosType { FRIEND , ENEMY , TRAINER , ENEMYTRAINER }
 Type of deployed battle character More...
 

Static Public Member Functions

static Vector3 getPosition (Vector3 centerOfField, PosType type, int num, int max)
 
static BattleEnemyData.MonsterArrangementType getPositionType (int num, int max)
 
static void Reset ()
 
static void SetTrainer (Vector3 player, Vector3 enemy)
 
static void SetFriend (Vector3[][] data)
 
static void SetEnemy (Vector3[][] data)
 

Static Public Attributes

static Vector3 DEFAULT_BATTLE_FIELD_CENTER = new Vector3(14f, 1f, 14f)
 
static readonly Vector3 DEFAULT_BATTLE_FIELD_SIZE = new Vector3(9f, 40f, 9f)
 

Detailed Description

Placement information of allies and enemies during battle

Member Enumeration Documentation

◆ PosType

Type of deployed battle character

Enumerator
FRIEND 
ENEMY 
TRAINER 
ENEMYTRAINER 

Member Function Documentation

◆ getPosition()

static Vector3 Yukar.Engine.BattleCharacterPosition.getPosition ( Vector3  centerOfField,
PosType  type,
int  num,
int  max 
)
static

◆ getPositionType()

static BattleEnemyData.MonsterArrangementType Yukar.Engine.BattleCharacterPosition.getPositionType ( int  num,
int  max 
)
static

◆ Reset()

static void Yukar.Engine.BattleCharacterPosition.Reset ( )
static

◆ SetEnemy()

static void Yukar.Engine.BattleCharacterPosition.SetEnemy ( Vector3  data[][])
static

◆ SetFriend()

static void Yukar.Engine.BattleCharacterPosition.SetFriend ( Vector3  data[][])
static

◆ SetTrainer()

static void Yukar.Engine.BattleCharacterPosition.SetTrainer ( Vector3  player,
Vector3  enemy 
)
static

Member Data Documentation

◆ DEFAULT_BATTLE_FIELD_CENTER

Vector3 Yukar.Engine.BattleCharacterPosition.DEFAULT_BATTLE_FIELD_CENTER = new Vector3(14f, 1f, 14f)
static

◆ DEFAULT_BATTLE_FIELD_SIZE

readonly Vector3 Yukar.Engine.BattleCharacterPosition.DEFAULT_BATTLE_FIELD_SIZE = new Vector3(9f, 40f, 9f)
static