PKrystian / FiveNightsEscape

An android application utilizing location services to display the user's location on a map. Engage in a thrilling experience where monsters pursue the user in real-time.
MIT License
0 stars 0 forks source link

Player base class #12

Closed MBigaj closed 9 months ago

MBigaj commented 10 months ago

Create a player base class that is going to be initialized with the start of the application ( or when the user decides to start the game )

pmusielak commented 10 months ago

Example of creating Circle Object

Circle circle = map.addCircle(new CircleOptions()
     .center(Player_Location) //You can either give certain coordinates (new LatLng(-33.87365, 151.20689)) or another object (in this case it should be current player location)
     .radius(10) //The radius is in meters
     .strokeColor(Color.RED) //Color of the outline of the circle
     .fillColor(Color.BLUE)); //Color to fill the circle. Is transparent by default
     .visible(true) //Set the visibility of the circle