Guest User

PokemonMoveMeta.cs

a guest
Aug 27th, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.89 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using POGOProtos.Enums;
  7.  
  8. // Ported to C# by BadChoicesZ
  9. // Code ported from Grover-c13 - https://github.com/Grover-c13/PokeGOAPI-Java/
  10.  
  11. namespace PokemonGo.RocketAPI.Helpers
  12. {
  13.     public class PokemonMoveMeta
  14.     {
  15.         public PokemonMove move;
  16.         private PokemonType Type;
  17.         private int power;
  18.         private int accuracy;
  19.         private double critChance;
  20.         private int time;
  21.         private int energy;
  22.  
  23.         public int getTime()
  24.         {
  25.             return this.time;
  26.         }
  27.         public void setTime(int _time)
  28.         {
  29.             this.time = _time;
  30.         }
  31.  
  32.         public PokemonMove getMove()
  33.         {
  34.             return this.move;
  35.         }
  36.         public void setMove(PokemonMove move)
  37.         {
  38.             this.move = move;
  39.         }
  40.  
  41.         public int getPower()
  42.         {
  43.             return this.power;
  44.         }
  45.         public void setPower(int power)
  46.         {
  47.             this.power = power;
  48.         }
  49.  
  50.         public int getAccuracy()
  51.         {
  52.             return accuracy;
  53.         }
  54.  
  55.         public void setAccuracy(int accuracy)
  56.         {
  57.             this.accuracy = accuracy;
  58.         }
  59.  
  60.         public double getCritChance()
  61.         {
  62.             return this.critChance;
  63.         }
  64.         public void setCritChance(double CritChance)
  65.         {
  66.             this.critChance = CritChance;
  67.         }
  68.         public int getEnergy()
  69.         {
  70.             return this.energy;
  71.         }
  72.  
  73.         public void setEnergy(int energy)
  74.         {
  75.             this.energy = energy;
  76.         }
  77.  
  78.         public void setType(PokemonType type)
  79.         {
  80.             this.Type = type;
  81.         }
  82.  
  83.         public PokemonType getType()
  84.         {
  85.             return this.Type;
  86.         }
  87.     }
  88. }
Advertisement
Add Comment
Please, Sign In to add comment