Initial work on Frame Edit

This commit is contained in:
Deon George
2019-07-31 20:19:41 +08:00
parent aa6b2f3244
commit bb031b1b82
7 changed files with 269 additions and 11 deletions

View File

@@ -130,6 +130,18 @@ abstract class Frame
->limit(9);
}
/**
* Return the attributes for character at position
*
* @param int $x
* @param int $y
* @return string
*/
public function attr(int $x,int $y): string
{
return $this->po->attr($x,$y);
}
/**
* Frame Created Date
*/
@@ -138,6 +150,17 @@ abstract class Frame
return $this->fo->created_at;
}
/**
* Return the character at a specific position
* @param $x
* @param $y
* @return string
*/
public function char(int $x,int $y): string
{
return $this->po->char($x,$y);
}
/**
* Return fields within the frame.
*/