Advertisement
Notrew3

Heads.php

May 25th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.96 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4.  * To change this license header, choose License Headers in Project Properties.
  5.  * To change this template file, choose Tools | Templates
  6.  * and open the template in the editor.
  7.  */
  8.  
  9. /**
  10.  * Description of Heads
  11.  *
  12.  * @author Positivo
  13.  */
  14. class Heads {
  15.  
  16.     private $head_item_name;
  17.     private $head_item_health_poits;
  18.     private $head_item_damage;
  19.     private $head_item_defense;
  20.     private $head_item_dodge_chance;
  21.     private $head_item_counter_chance;
  22.     private $head_item_hit_chance;
  23.     private $head_item_critical_damage_multiplier;
  24.     private $head_item_critical_chance;
  25.  
  26.     function __construct($head_item_name, $head_item_defense) {
  27.         $this->head_item_name = $head_item_name;
  28.         $this->head_item_defense = $head_item_defense;
  29.     }
  30.  
  31.     //Getters and Setters
  32.     //GETTERS
  33.     function getHead_item_name() {
  34.         return $this->head_item_name;
  35.     }
  36.  
  37.     function getHead_item_health_poits() {
  38.         return $this->head_item_health_poits;
  39.     }
  40.  
  41.     function getHead_item_damage() {
  42.         return $this->head_item_damage;
  43.     }
  44.  
  45.     function getHead_item_defense() {
  46.         return $this->head_item_defense;
  47.     }
  48.  
  49.     function getHead_item_dodge_chance() {
  50.         return $this->head_item_dodge_chance;
  51.     }
  52.  
  53.     function getHead_item_counter_chance() {
  54.         return $this->head_item_counter_chance;
  55.     }
  56.  
  57.     function getHead_item_hit_chance() {
  58.         return $this->head_item_hit_chance;
  59.     }
  60.  
  61.     function getHead_item_critical_damage_multiplier() {
  62.         return $this->head_item_critical_damage_multiplier;
  63.     }
  64.  
  65.     function getHead_item_critical_chance() {
  66.         return $this->head_item_critical_chance;
  67.     }
  68.  
  69.     //SETTERS
  70.     function setHead_item_name($head_item_name) {
  71.         $this->head_item_name = $head_item_name;
  72.     }
  73.  
  74.     function setHead_item_health_poits($head_item_health_poits) {
  75.         $this->head_item_health_poits = $head_item_health_poits;
  76.     }
  77.  
  78.     function setHead_item_damage($head_item_damage) {
  79.         $this->head_item_damage = $head_item_damage;
  80.     }
  81.  
  82.     function setHead_item_defense($head_item_defense) {
  83.         $this->head_item_defense = $head_item_defense;
  84.     }
  85.  
  86.     function setHead_item_dodge_chance($head_item_dodge_chance) {
  87.         $this->head_item_dodge_chance = $head_item_dodge_chance;
  88.     }
  89.  
  90.     function setHead_item_counter_chance($head_item_counter_chance) {
  91.         $this->head_item_counter_chance = $head_item_counter_chance;
  92.     }
  93.  
  94.     function setHead_item_hit_chance($head_item_hit_chance) {
  95.         $this->head_item_hit_chance = $head_item_hit_chance;
  96.     }
  97.  
  98.     function setHead_item_critical_damage_multiplier($head_item_critical_damage_multiplier) {
  99.         $this->head_item_critical_damage_multiplier = $head_item_critical_damage_multiplier;
  100.     }
  101.  
  102.     function setHead_item_critical_chance($head_item_critical_chance) {
  103.         $this->head_item_critical_chance = $head_item_critical_chance;
  104.     }
  105.  
  106. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement