Drone
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
DroneGame.Connector Class Reference

Mostly for debug purposes, it is an arrow that points towards a neighbor tile More...

Inheritance diagram for DroneGame.Connector:

Public Member Functions

void Initialize (TileData from, TileData to, float distance)
 Since Unity does not allow arguments trough Instantiate we create a startup function More...
 

Public Attributes

TileData from
 
TileData to
 
float distance
 

Detailed Description

Mostly for debug purposes, it is an arrow that points towards a neighbor tile

Member Function Documentation

◆ Initialize()

void DroneGame.Connector.Initialize ( TileData  from,
TileData  to,
float  distance 
)
inline

Since Unity does not allow arguments trough Instantiate we create a startup function

Parameters
fromNode that contains the neighbor
toNeighbor node that the arrow shall point to

The documentation for this class was generated from the following file: